Skip to content

Commit

Permalink
querydb: remove unnecessary class name prefix (joernio#1961)
Browse files Browse the repository at this point in the history
  • Loading branch information
ursachec committed Nov 8, 2022
1 parent 2d601ec commit 1c8dcb8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import io.shiftleft.semanticcpg.language._
import overflowdb.traversal.Traversal
import io.joern.dataflowengineoss.language._

object AndroidMisconfigurations extends QueryBundle {
object Misconfigurations extends QueryBundle {

@q
def manifestXmlBackupEnabled(): Query =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import io.joern.macros.QueryMacros._
import io.shiftleft.semanticcpg.language._
import overflowdb.traversal.Traversal

object AndroidUnprotectedAppParts extends QueryBundle {
object UnprotectedAppParts extends QueryBundle {
implicit val engineContext: EngineContext = EngineContext(Semantics.empty)
implicit val resolver: ICallResolver = NoResolve

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package io.joern.scanners.android

import io.joern.suites.AndroidQueryTestSuite

class AndroidMisconfigurationsTests extends AndroidQueryTestSuite(AndroidMisconfigurations) {
class MisconfigurationsTests extends AndroidQueryTestSuite(Misconfigurations) {

"the `manifestXmlBackupEnabled` query" when {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import io.joern.suites.KotlinQueryTestSuite
import overflowdb.traversal.iterableToTraversal
import io.shiftleft.semanticcpg.language._

class AndroidUnprotectedAppPartsTests extends KotlinQueryTestSuite(AndroidUnprotectedAppParts) {
class UnprotectedAppPartsTests extends KotlinQueryTestSuite(UnprotectedAppParts) {

"should match all positive examples" in {
val query = queryBundle.intentRedirection()
Expand Down

0 comments on commit 1c8dcb8

Please sign in to comment.