Home
last modified time | relevance | path

Searched refs:createErrorCountString (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Bluetooth/tools/lint/checks/tests/com/android/bluetooth/lint/test/
DLogEnforcementVariableCreationDetectorTest.kt66 .expectContains(createErrorCountString(1, 0)) in getDetector()
98 .expectContains(createErrorCountString(1, 0)) in testClassWithVVar_issueFound()
130 .expectContains(createErrorCountString(1, 0)) in testClassWithDbgVar_issueFound()
162 .expectContains(createErrorCountString(1, 0)) in testClassWithVdbgVar_issueFound()
194 .expectContains(createErrorCountString(1, 0)) in testClassWithDebugVar_issueFound()
226 .expectContains(createErrorCountString(1, 0)) in testClassWithVerboseVar_issueFound()
258 .expectContains(createErrorCountString(1, 0)) in testClassWithDbgEndingVar_issueFound()
290 .expectContains(createErrorCountString(1, 0)) in testClassWithVdbgEndingVar_issueFound()
324 .expectContains(createErrorCountString(1, 0)) in testClassWithMemberDbgVar_issueFound()
356 .expectContains(createErrorCountString(1, 0)) in testClassWithMemberDebugVar_issueFound()
[all …]
DGuardedLogLineDetectorTest.kt140 .expectContains(createErrorCountString(0, 1)) in testGuardedLogWithIsLoggable_warningFound()
174 .expectContains(createErrorCountString(1, 0)) in testGuardedLogWithDbgVariable_issueFound()
208 .expectContains(createErrorCountString(1, 0)) in testGuardedLogWithUnaryDbgVariable_issueFound()
242 .expectContains(createErrorCountString(1, 0)) in testGuardedLogWithBinaryDbgVariable_issueFound()
276 .expectContains(createErrorCountString(1, 0)) in testGuardedLogWithPolyadicDbgVariable_issueFound()
310 .expectContains(createErrorCountString(1, 0)) in testGuardedLogWithParenthesizedDbgVariable_issueFound()
346 .expectContains(createErrorCountString(1, 0)) in testGuardedLogInNestedIfWithDbgVariable_issueFound()
382 .expectContains(createErrorCountString(1, 0)) in testGuardedLogInIfElseWithDbgVariableInElseIf_issueFound()
418 .expectContains(createErrorCountString(1, 0)) in testGuardedLogInIfElseWithDbgVariableInIf_issueFound()
454 .expectContains(createErrorCountString(1, 0)) in testGuardedLogInNestedIfWithDbgVariableOuterIfAndLogInInner_issueFound()
[all …]
/packages/modules/AdServices/adservices/linter/tests/java/android/adservices/lint/test/
DRoomDatabaseMigrationDetectorTest.kt120 .expectContains(createErrorCountString(1, 0)) in testMigrationPath_missingDatabaseAnnotationError()
162 .expectContains(createErrorCountString(1, 0)) in testMigrationPath_missingMigrationPathAttribute()
206 .expectContains(createErrorCountString(0, 1)) in testMigrationPath_incompleteMigrationPath()
250 .expectContains(createErrorCountString(1, 0)) in testMigrationPath_missingDatabaseVersionFieldInClass()
296 .expectContains(createErrorCountString(2, 0)) in testMigrationPath_missingDatabaseVersionAnnotationField()
343 .expectContains(createErrorCountString(1, 0)) in testMigrationPath_failedToReferenceDatabaseVersionError()
389 .expectContains(createErrorCountString(1, 0)) in testMigrationPath_schemaExportFalseError()
482 .expectContains(createErrorCountString(1, 0)) in testMigrationPath_databaseNotRegistered()
516 .expectContains(createErrorCountString(1, 0)) in testMigrationPath_databaseRegisterClassMissing()
569 private fun createErrorCountString(errors: Int, warnings: Int): String { in createErrorCountString() method in android.adservices.lint.test.RoomDatabaseMigrationDetectorTest