Searched refs:hasItems (Results 1 – 3 of 3) sorted by relevance
12 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()
34 public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> hasItems(T... elements) { in hasItems() method in JUnitMatchers35 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 JUnitMatchers45 return IsCollectionContaining.hasItems(elementMatchers); in hasItems()
48 public static <T> Matcher<Iterable<T>> hasItems(Matcher<? extends T>... elementMatchers) { in hasItems() method in IsCollectionContaining58 public static <T> Matcher<Iterable<T>> hasItems(T... elements) { in hasItems() method in IsCollectionContaining