Home
last modified time | relevance | path

Searched refs:hasItems (Results 1 – 3 of 3) sorted by relevance

/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/
DStringArrayResourceLoaderTest.java12 import static org.hamcrest.core.IsCollectionContaining.hasItems;
37 …assertThat(Arrays.asList(stringArrayResourceLoader.getArrayValue(R.array.items)), hasItems("foo", … in testStringsAreResolved()
42 …ays.asList(stringArrayResourceLoader.getArrayValue(R.array.greetings)), hasItems("hola", "Hello")); in testStringsAreWithReferences()
47 …gArrayResourceLoader.getArrayValue(android.R.array.emailAddressTypes)), hasItems("Home", "Work", "… in shouldAddAndroidToSystemStringArrayName()
48 …st(stringArrayResourceLoader.getArrayValue(R.array.emailAddressTypes)), hasItems("Doggy", "Catty")… in shouldAddAndroidToSystemStringArrayName()
/external/junit/src/org/junit/matchers/
DJUnitMatchers.java34 public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> hasItems(T... elements) { in hasItems() method in JUnitMatchers
35 return IsCollectionContaining.hasItems(elements); in hasItems()
44 …public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> hasItems(org.hamcrest.Matcher<? exte… in hasItems() method in JUnitMatchers
45 return IsCollectionContaining.hasItems(elementMatchers); in hasItems()
/external/junit/src/org/junit/internal/matchers/
DIsCollectionContaining.java48 public static <T> Matcher<Iterable<T>> hasItems(Matcher<? extends T>... elementMatchers) { in hasItems() method in IsCollectionContaining
58 public static <T> Matcher<Iterable<T>> hasItems(T... elements) { in hasItems() method in IsCollectionContaining