Searched refs:assertContains (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/os/src/android/os/cts/ |
D | ParcelFileDescriptorProcessTest.java | 73 private static void assertContains(String expected, String actual) { in assertContains() method in ParcelFileDescriptorProcessTest 165 assertContains("OMG MUFFINS", blue.checkError()); in testPipeWriterError() 179 assertContains("Remote side is dead", blue.checkError()); in testPipeWriterCrash() 194 assertContains("Remote side is dead", red.checkError()); in testSocketCrash() 216 assertContains("OMG BANANAS", red.checkListener()); in testFileError() 227 assertContains("Remote side is dead", red.checkListener()); in testFileCrash() 236 assertContains("DETACHED", red.checkListener()); in testFileDetach() 245 assertContains("leaked", red.checkListener()); in testFileLeak() 259 assertContains("BLUE RAWR", red.checkError()); in testSocketErrorAfterClose() 269 assertContains("Remote side is dead", red.checkError()); in testSocketDeathBeforeClose() [all …]
|
D | ParcelFileDescriptorTest.java | 311 private static void assertContains(String expected, String actual) { in assertContains() method in ParcelFileDescriptorTest 378 assertContains("OMG MUFFINS", e.getMessage()); in testPipeError_Discouraged() 397 assertContains("OMG MUFFINS", e.getMessage()); in testPipeError() 430 assertContains("OMG BANANAS", listener.get().getMessage()); in testFileError() 445 assertContains("DETACHED", listener.get().getMessage()); in testFileDetach() 484 assertContains("BLUE RAWR", e.getMessage()); in testSocketErrorAfterClose() 509 assertContains("RAWR RED", e.getMessage()); in testSocketMultipleCheck()
|
/cts/tests/tests/companion/uiautomation/src/android/companion/cts/uiautomation/ |
D | AssociationRevokedTest.kt | 24 import kotlin.test.assertContains 78 assertContains(getRoleHolders(DEVICE_PROFILE_WATCH), in <lambda>() 86 assertContains(getRoleHolders(DEVICE_PROFILE_WATCH), in <lambda>() 116 assertContains(getRoleHolders(DEVICE_PROFILE_WATCH), in <lambda>() 124 assertContains(getRoleHolders(DEVICE_PROFILE_WATCH), in <lambda>()
|
D | UiAutomationTestBase.kt | 56 import kotlin.test.assertContains in <lambda>() 366 assertContains(roleHolders, targetPackageName, "Not a holder of $roleName") in <lambda>()
|
/cts/tests/tests/proto/src/android/util/proto/cts/ |
D | DebuggingTest.java | 118 private void assertContains(String haystack, String needle) throws Exception { in assertContains() method in DebuggingTest 127 assertContains(str, ProtoOutputStream.getFieldCountString(count)); in checkFieldIdString() 128 assertContains(str, ProtoOutputStream.getFieldTypeString(type)); in checkFieldIdString()
|
/cts/tests/tests/companion/common/src/android/companion/cts/common/ |
D | TestBase.kt | 41 import kotlin.test.assertContains 336 assertContains(PrimaryCompanionService.associationIdsForConnectedDevices, associationId) in assertOnlyPrimaryCompanionDeviceServiceNotified()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | PkgInstallSignatureVerificationTest.java | 1903 assertContains( in assertInstallV4FailsWithError() 1916 assertContains( in assertInstallFailsWithError() 1929 assertContains( in assertInstallEphemeralFailsWithError() 1942 private static void assertContains(String message, String expectedSubstring, String actual) { in assertContains() method in PkgInstallSignatureVerificationTest
|