Home
last modified time | relevance | path

Searched refs:hasItems (Results 1 – 4 of 4) 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
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorCSSAgent.cpp1337 bool hasItems = false; in buildMediaListChain() local
1367 hasItems = true; in buildMediaListChain()
1385 hasItems = true; in buildMediaListChain()
1394 return hasItems ? mediaArray : 0; in buildMediaListChain()