Home
last modified time | relevance | path

Searched refs:assertContains (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/os/src/android/os/cts/
DParcelFileDescriptorProcessTest.java71 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 …]
DParcelFileDescriptorTest.java226 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()
377 assertContains("BLUE RAWR", e.getMessage()); in testSocketErrorAfterClose()
401 assertContains("RAWR RED", e.getMessage()); in testSocketMultipleCheck()
/cts/tests/tests/proto/src/android/util/proto/cts/
DDebuggingTest.java118 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/hostsidetests/appsecurity/src/android/appsecurity/cts/
DPkgInstallSignatureVerificationTest.java1428 assertContains( in assertInstallV4FailsWithError()
1441 assertContains( in assertInstallFailsWithError()
1454 assertContains( in assertInstallEphemeralFailsWithError()
1467 private static void assertContains(String message, String expectedSubstring, String actual) { in assertContains() method in PkgInstallSignatureVerificationTest
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DRegexUtils.java32 public static void assertContains(String pattern, String input) throws Exception { in assertContains() method in RegexUtils
DSecurityTestCase.java148 RegexUtils.assertContains(pattern, input); in assertMatches()