Home
last modified time | relevance | path

Searched refs:CoreMatchers (Results 1 – 25 of 31) 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/libchrome/base/test/android/javatests/src/org/chromium/base/test/util/
DMatchers.java7 import org.hamcrest.CoreMatchers;
15 public class Matchers extends CoreMatchers {
/external/javaparser/javaparser-core-testing-bdd/src/test/java/com/github/javaparser/steps/
DComparingSteps.java29 import static org.hamcrest.CoreMatchers.equalTo;
30 import static org.hamcrest.CoreMatchers.is;
DSharedSteps.java28 import org.hamcrest.CoreMatchers;
130 … assertThat(compilationUnit.toString(), CoreMatchers.is(equalToIgnoringWhiteSpace(classSrc))); in thenTheExpectedSourcesShouldBe()
DVisitorSteps.java41 import static org.hamcrest.CoreMatchers.is;
DManipulationSteps.java52 import static org.hamcrest.CoreMatchers.is;
/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.java12 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/junit-params/src/test/java/junitparams/
DAssumptionsTest.java4 import static org.hamcrest.CoreMatchers.*;
DSubclassTest.java3 import static org.hamcrest.CoreMatchers.*;
/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/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/ukey2/src/main/javatest/com/google/security/cryptauth/lib/securegcm/
DEd25519Test.java17 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/hamcrest/hamcrest-core/src/main/java/org/hamcrest/
DCoreMatchers.java4 public class CoreMatchers { class
/external/mockito/src/test/java/org/mockitousage/stubbing/
DStubbingWithThrowablesTest.java12 import static org.hamcrest.CoreMatchers.sameInstance;

12