Searched refs:assertContains (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/os/src/android/os/cts/ |
D | ParcelFileDescriptorProcessTest.java | 71 private static void assertContains(String expected, String actual) { in assertContains() method in ParcelFileDescriptorProcessTest 163 assertContains("OMG MUFFINS", blue.checkError()); in testPipeWriterError() 177 assertContains("Remote side is dead", blue.checkError()); in testPipeWriterCrash() 192 assertContains("Remote side is dead", red.checkError()); in testSocketCrash() 214 assertContains("OMG BANANAS", red.checkListener()); in testFileError() 225 assertContains("Remote side is dead", red.checkListener()); in testFileCrash() 234 assertContains("DETACHED", red.checkListener()); in testFileDetach() 243 assertContains("leaked", red.checkListener()); in testFileLeak() 257 assertContains("BLUE RAWR", red.checkError()); in testSocketErrorAfterClose() 267 assertContains("Remote side is dead", red.checkError()); in testSocketDeathBeforeClose() [all …]
|
D | ParcelFileDescriptorTest.java | 226 private static void assertContains(String expected, String actual) { in assertContains() method in ParcelFileDescriptorTest 277 assertContains("OMG MUFFINS", e.getMessage()); in testPipeError_Discouraged() 295 assertContains("OMG MUFFINS", e.getMessage()); in testPipeError() 326 assertContains("OMG BANANAS", listener.get().getMessage()); in testFileError() 340 assertContains("DETACHED", listener.get().getMessage()); in testFileDetach() 359 assertContains("BLUE RAWR", e.getMessage()); in testSocketErrorAfterClose() 383 assertContains("RAWR RED", e.getMessage()); in testSocketMultipleCheck()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | PkgInstallSignatureVerificationTest.java | 805 assertContains( in assertInstallFailsWithError() 818 assertContains( in assertInstallEphemeralFailsWithError() 831 private static void assertContains(String message, String expectedSubstring, String actual) { in assertContains() method in PkgInstallSignatureVerificationTest
|
/cts/hostsidetests/securitybulletin/src/android/security/cts/ |
D | RegexUtils.java | 32 public static void assertContains(String pattern, String input) throws Exception { in assertContains() method in RegexUtils
|
D | SecurityTestCase.java | 99 RegexUtils.assertContains(pattern, input); in assertMatches()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | ConnectivityManagerTest.java | 351 assertContains(linkProperties.getAddresses(), address); in assertOnNetwork() 355 private static<T> void assertContains(Collection<T> collection, T element) { in assertContains() method in ConnectivityManagerTest
|