Home
last modified time | relevance | path

Searched refs:hasItem (Results 1 – 13 of 13) sorted by relevance

/external/hamcrest/library/src/org/hamcrest/collection/
DIsCollectionContaining.java36 public static <T> Matcher<Iterable<T>> hasItem(Matcher<? extends T> elementMatcher) { in hasItem() method in IsCollectionContaining
41 public static <T> Matcher<Iterable<T>> hasItem(T element) { in hasItem() method in IsCollectionContaining
42 return hasItem(equalTo(element)); in hasItem()
50 all.add(hasItem(elementMatcher)); in hasItems()
60 all.add(hasItem(element)); in hasItems()
/external/junit/src/org/junit/internal/matchers/
DIsCollectionContaining.java38 public static <T> Matcher<Iterable<T>> hasItem(Matcher<? extends T> elementMatcher) { in hasItem() method in IsCollectionContaining
43 public static <T> Matcher<Iterable<T>> hasItem(T element) { in hasItem() method in IsCollectionContaining
44 return hasItem(equalTo(element)); in hasItem()
52 all.add(hasItem(elementMatcher)); in hasItems()
62 all.add(hasItem(element)); in hasItems()
DEach.java4 import static org.junit.internal.matchers.IsCollectionContaining.hasItem;
11 final Matcher<Iterable<T>> allItemsAre = not(hasItem(not(individual))); in each()
/external/deqp/framework/delibs/decpp/
DdeDirectoryIterator.cpp55 bool DirectoryIterator::hasItem (void) const in hasItem() function in de::DirectoryIterator
62 DE_ASSERT(hasItem()); in getItem()
100 bool DirectoryIterator::hasItem (void) const
107 DE_ASSERT(hasItem());
DdeDirectoryIterator.hpp59 bool hasItem (void) const;
/external/junit/src/org/junit/matchers/
DJUnitMatchers.java18 public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> hasItem(T element) { in hasItem() method in JUnitMatchers
19 return IsCollectionContaining.hasItem(element); in hasItem()
26 …public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> hasItem(org.hamcrest.Matcher<? exten… in hasItem() method in JUnitMatchers
27 return IsCollectionContaining.hasItem(elementMatcher); in hasItem()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DUriMatcherTest.java15 import static org.junit.matchers.JUnitMatchers.hasItem;
44 assertThat(node.map.keySet(), hasItem(AUTH)); in canAddBasicMatch()
47 assertThat(node.map.keySet(), hasItem("bar")); in canAddBasicMatch()
50 assertThat(node.map.keySet(), hasItem("cat")); in canAddBasicMatch()
DCameraParametersTest.java17 import static org.hamcrest.core.IsCollectionContaining.hasItem;
87 assertThat(supportedFormats, hasItem(ImageFormat.NV21)); in testGetSupportedPreviewFormats()
95 assertThat(supportedFormats, hasItem(new Integer(ImageFormat.NV21))); in testGetSupportedPictureFormats()
DContentResolverTest.java6 import static org.hamcrest.CoreMatchers.hasItem;
105 assertThat(shadowContentResolver.getDeletedUris(), hasItem(uri21)); in delete_shouldTrackDeletedUris()
109 assertThat(shadowContentResolver.getDeletedUris(), hasItem(uri22)); in delete_shouldTrackDeletedUris()
DCursorWrapperTest.java41 assertThat(cursorMethod.keySet(), hasItem(methodName)); in verifyForward()
/external/hamcrest/library/src/org/hamcrest/
DMatchers.java173 public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> hasItem(T element) { in hasItem() method in Matchers
174 return org.hamcrest.collection.IsCollectionContaining.hasItem(element); in hasItem()
177 …public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> hasItem(org.hamcrest.Matcher<? exten… in hasItem() method in Matchers
178 return org.hamcrest.collection.IsCollectionContaining.hasItem(elementMatcher); in hasItem()
/external/deqp/framework/randomshaders/
DrsgVariableManager.cpp43 bool hasItem (void) const;
57 inline bool SubValueRangeIterator::hasItem (void) const in hasItem() function in rsg::SubValueRangeIterator
/external/deqp/executor/tools/
DxeCommandLineExecutor.cpp282 for (; iter.hasItem(); iter.next()) in readCaseLists()