Home
last modified time | relevance | path

Searched refs:containsString (Results 1 – 20 of 20) sorted by relevance

/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/lz4/
DFramedLZ4CompressorInputStreamTest.java199 assertThat(ex.getMessage(), containsString("frame flags")); in rejectsFileWithoutFrameDescriptor()
214 assertThat(ex.getMessage(), containsString("BD byte")); in rejectsFileWithoutBlockSizeByte()
229 assertThat(ex.getMessage(), containsString("version")); in rejectsFileWithWrongVersion()
245 assertThat(ex.getMessage(), containsString("content size")); in rejectsFileWithInsufficientContentSize()
261 assertThat(ex.getMessage(), containsString("header checksum")); in rejectsFileWithoutHeaderChecksum()
278 assertThat(ex.getMessage(), containsString("header checksum mismatch")); in rejectsFileWithBadHeaderChecksum()
334 assertThat(ex.getMessage(), containsString("block checksum")); in rejectsBlocksWithoutChecksum()
355 assertThat(ex.getMessage(), containsString("content checksum")); in rejectsStreamsWithoutContentChecksum()
377 assertThat(ex.getMessage(), containsString("content checksum mismatch")); in rejectsStreamsWithBadContentChecksum()
453 assertThat(ex.getMessage(), containsString("garbage")); in rejectsSkippableFrameFollowedByJunk()
[all …]
/external/libchrome/base/android/javatests/src/org/chromium/base/
DAsyncTaskTest.java74 CoreMatchers.containsString("org.chromium.base.AsyncTaskTest$SpecialRunnable")); in testChromeThreadPoolExecutorRunnables()
76 CoreMatchers.not(CoreMatchers.containsString("SpecialChromeAsyncTask"))); in testChromeThreadPoolExecutorRunnables()
98 thrown.expectMessage(CoreMatchers.containsString( in testChromeThreadPoolExecutorChromeAsyncTask()
100 thrown.expectMessage(CoreMatchers.not(CoreMatchers.containsString("SpecialOsAsyncTask"))); in testChromeThreadPoolExecutorChromeAsyncTask()
123 CoreMatchers.containsString("org.chromium.base.AsyncTaskTest$SpecialOsAsyncTask")); in testChromeThreadPoolExecutorOsAsyncTask()
125 CoreMatchers.not(CoreMatchers.containsString("SpecialChromeAsyncTask"))); in testChromeThreadPoolExecutorOsAsyncTask()
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DGrpcHttp2HeadersUtilsTest.java21 import static org.hamcrest.CoreMatchers.containsString;
124 assertThat(decodedHeaders.toString(), containsString("[]")); in decode_emptyHeaders()
128 assertThat(str, containsString(key.toString())); in assertContainsKeyAndValue()
129 assertThat(str, containsString(value.toString())); in assertContainsKeyAndValue()
/external/hamcrest/hamcrest-core/src/test/java/org/hamcrest/core/
DEveryTest.java10 import static org.hamcrest.core.StringContains.containsString;
14 … private final Matcher<Iterable<? extends String>> matcher = Every.everyItem(containsString("a"));
DStringContainsTest.java6 import static org.hamcrest.core.StringContains.containsString;
12 final Matcher<String> stringContains = containsString(EXCERPT);
/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/xml/
DHasXPathTest.java18 import static org.hamcrest.core.StringContains.containsString;
71 assertMatches(hasXPath("//something[1]/cheese", containsString("dam")), xml); in appliesMatcherToXPathInDocument()
72 assertMatches(hasXPath("//something[2]/cheese", not(containsString("dam"))), xml); in appliesMatcherToXPathInDocument()
/external/jacoco/org.jacoco.examples.test/src/org/jacoco/examples/
DConsoleOutput.java17 import static org.junit.matchers.JUnitMatchers.containsString;
50 return containsString(String.format("%s%n", line)); in containsLine()
DExecDumpTest.java15 import static org.junit.matchers.JUnitMatchers.containsString;
44 console.expect(containsString("Session \"testid\":")); in testRunExample()
/external/junit/src/main/java/org/junit/matchers/
DJUnitMatchers.java68 public static Matcher<java.lang.String> containsString(java.lang.String substring) { in containsString() method in JUnitMatchers
69 return CoreMatchers.containsString(substring); in containsString()
/external/junit/src/main/java/org/junit/rules/
DExpectedException.java4 import static org.hamcrest.CoreMatchers.containsString;
199 expectMessage(containsString(substring)); in expectMessage()
/external/syzkaller/vendor/google.golang.org/grpc/resolver/dns/
Ddns_resolver.go340 func containsString(a *[]string, b string) bool { func
376 if !containsString(c.ClientLanguage, golang) ||
378 !containsString(c.ClientHostName, cliHostname) ||
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/
DStringContains.java28 public static Matcher<String> containsString(String substring) { in containsString() method in StringContains
/external/mockito/src/test/java/org/mockito/internal/matchers/
DStringMatchersTest.java47 public void containsString() { in containsString() method in StringMatchersTest
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/
DCoreMatchers.java391 public static org.hamcrest.Matcher<java.lang.String> containsString(java.lang.String substring) { in containsString() method in CoreMatchers
392 return org.hamcrest.core.StringContains.containsString(substring); in containsString()
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/
DMatchers.java475 public static org.hamcrest.Matcher<java.lang.String> containsString(java.lang.String substring) { in containsString() method in Matchers
476 return org.hamcrest.core.StringContains.containsString(substring); in containsString()
/external/owasp/sanitizer/lib/junit/
Djunit-dep.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/ ...
Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/ ...
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/
Djunit-4.8.1.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/ ...
/external/libphonenumber/lib/
Djunit-4.8.1.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/ ...
/external/conscrypt/benchmark-android/
Dvogar.jarMETA-INF/ META-INF/MANIFEST.MF vogar/ vogar/TestProperties.class TestProperties ...