Home
last modified time | relevance | path

Searched refs:CoreMatchers (Results 1 – 25 of 28) sorted by relevance

12

/external/junit/src/main/java/org/junit/matchers/
DJUnitMatchers.java3 import org.hamcrest.CoreMatchers;
22 return CoreMatchers.hasItem(element); in hasItem()
31 return CoreMatchers.<T>hasItem(elementMatcher); in hasItem()
40 return CoreMatchers.hasItems(elements); in hasItems()
51 return CoreMatchers.<T>hasItems(elementMatchers); in hasItems()
60 return CoreMatchers.everyItem((Matcher) elementMatcher); in everyItem()
69 return CoreMatchers.containsString(substring); in containsString()
82 return CoreMatchers.both(matcher); in both()
95 return CoreMatchers.either(matcher); in either()
/external/libchrome/base/android/javatests/src/org/chromium/base/
DAsyncTaskTest.java10 import org.hamcrest.CoreMatchers;
74 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/opencensus-java/api/src/test/java/io/opencensus/metrics/export/
DTimeSeriesTest.java27 import org.hamcrest.CoreMatchers;
65 thrown.expectMessage(CoreMatchers.equalTo("labelValues")); in create_WithNullLabelValueList()
73 thrown.expectMessage(CoreMatchers.equalTo("labelValue")); in create_WithNullLabelValue()
80 thrown.expectMessage(CoreMatchers.equalTo("points")); in create_WithNullPointList()
88 thrown.expectMessage(CoreMatchers.equalTo("point")); in create_WithNullPoint()
107 thrown.expectMessage(CoreMatchers.equalTo("labelValues")); in createWithOnePoint_WithNullLabelValueList()
115 thrown.expectMessage(CoreMatchers.equalTo("labelValue")); in createWithOnePoint_WithNullLabelValue()
122 thrown.expectMessage(CoreMatchers.equalTo("point")); in createWithOnePoint_WithNullPointList()
DMetricDescriptorTest.java26 import org.hamcrest.CoreMatchers;
61 thrown.expectMessage(CoreMatchers.equalTo("labelKeys")); in preventNullLabelKeyList()
69 thrown.expectMessage(CoreMatchers.equalTo("labelKey")); in preventNullLabelKey()
/external/junit/src/main/java/org/junit/
DAssume.java4 import static org.hamcrest.CoreMatchers.everyItem;
5 import static org.hamcrest.CoreMatchers.is;
6 import static org.hamcrest.CoreMatchers.notNullValue;
7 import static org.hamcrest.CoreMatchers.nullValue;
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/bdd/steps/
DComparingSteps.java29 import static org.hamcrest.CoreMatchers.equalTo;
30 import static org.hamcrest.CoreMatchers.is;
DSharedSteps.java29 import org.hamcrest.CoreMatchers;
130 … assertThat(compilationUnit.toString(), CoreMatchers.is(equalToIgnoringWhiteSpace(classSrc))); in thenTheExpectedSourcesShouldBe()
DVisitorSteps.java41 import static org.hamcrest.CoreMatchers.is;
DManipulationSteps.java53 import static org.hamcrest.CoreMatchers.is;
DCommentParsingSteps.java55 import static org.hamcrest.CoreMatchers.*;
/external/junit/src/main/java/org/junit/rules/
DExpectedException.java4 import static org.hamcrest.CoreMatchers.containsString;
5 import static org.hamcrest.CoreMatchers.instanceOf;
DExpectedExceptionMatcherBuilder.java3 import static org.hamcrest.CoreMatchers.allOf;
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DRobolectricTestRunnerSelfTest.java11 import org.hamcrest.CoreMatchers;
88 org.junit.Assert.assertThat(true, CoreMatchers.is(true)); in hamcrestMatchersDontBlowUpDuringLinking()
/external/mockito/src/test/java/org/mockitoutil/
DConditions.java12 import org.hamcrest.CoreMatchers;
107 return CoreMatchers.instanceOf(type);
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/
DGZipIntegrationTest.java36 import static org.hamcrest.CoreMatchers.is;
37 import static org.hamcrest.CoreMatchers.nullValue;
/external/junit-params/src/test/java/junitparams/
DAssumptionsTest.java4 import static org.hamcrest.CoreMatchers.*;
DSubclassTest.java3 import static org.hamcrest.CoreMatchers.*;
/external/mockito/src/test/java/org/mockito/internal/verification/
DVerificationOverTimeImplTest.java16 import static org.hamcrest.CoreMatchers.is;
/external/mockito/src/test/java/org/mockitousage/matchers/
DHamcrestMatchersTest.java20 import static org.hamcrest.CoreMatchers.is;
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DGrpcHttp2HeadersUtilsTest.java21 import static org.hamcrest.CoreMatchers.containsString;
/external/opencensus-java/exporters/stats/signalfx/src/test/java/io/opencensus/exporter/stats/signalfx/
DSignalFxStatsExporterWorkerThreadTest.java19 import static org.hamcrest.CoreMatchers.startsWith;
/external/hamcrest/
DCHANGES.txt109 * Created CoreMatchers (static import sugar) in hamcrest-core.jar.
/external/mockito/src/test/java/org/mockitousage/stubbing/
DStubbingWithThrowablesTest.java12 import static org.hamcrest.CoreMatchers.sameInstance;
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/
DCoreMatchers.java4 public class CoreMatchers { class
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/lz4/
DFramedLZ4CompressorInputStreamTest.java21 import static org.hamcrest.CoreMatchers.*;

12