Searched refs:hasItems (Results 1 – 7 of 7) 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()
46 public static <T> Matcher<Iterable<T>> hasItems(Matcher<? extends T>... elementMatchers) { in hasItems() method in IsCollectionContaining56 public static <T> Matcher<Iterable<T>> hasItems(T... elements) { in hasItems() method in IsCollectionContaining
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
181 …public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> hasItems(org.hamcrest.Matcher<? exte… in hasItems() method in Matchers182 return org.hamcrest.collection.IsCollectionContaining.hasItems(elementMatchers); in hasItems()185 public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> hasItems(T... elements) { in hasItems() method in Matchers186 return org.hamcrest.collection.IsCollectionContaining.hasItems(elements); in hasItems()
58 public boolean hasItems () { in hasItems() method in Selection
71 if (selection.getMultiple() && selection.hasItems() && UIUtils.shift()) { in initialize()