Home
last modified time | relevance | path

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

/external/hamcrest/hamcrest-core/src/test/java/org/hamcrest/core/
DIsCollectionContainingTest.java14 import static org.hamcrest.core.IsCollectionContaining.hasItem;
22 Matcher<?> matcher = hasItem(equalTo("irrelevant")); in copesWithNullsAndUnknownTypes()
30 final Matcher<Iterable<? super String>> itemMatcher = hasItem(equalTo("a")); in matchesACollectionThatContainsAnElementForTheGivenMatcher()
37 final Matcher<Iterable<? super String>> matcher = hasItem(mismatchable("a")); in doesNotMatchCollectionWithoutAnElementForGivenMatcher()
45 assertDoesNotMatch("doesn't match null", hasItem(equalTo("a")), null); in doesNotMatchNull()
50 assertDescription("a collection containing mismatchable: a", hasItem(mismatchable("a"))); in hasAReadableDescription()
59 assertMatches(IsCollectionContaining.hasItem(2), s); in canMatchItemWhenCollectionHoldsSuperclass()
/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/main/java/org/junit/matchers/
DJUnitMatchers.java21 public static <T> Matcher<Iterable<? super T>> hasItem(T element) { in hasItem() method in JUnitMatchers
22 return CoreMatchers.hasItem(element); in hasItem()
30 public static <T> Matcher<Iterable<? super T>> hasItem(Matcher<? super T> elementMatcher) { in hasItem() method in JUnitMatchers
31 return CoreMatchers.<T>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/hamcrest-core/src/main/java/org/hamcrest/core/
DIsCollectionContaining.java69 public static <T> Matcher<Iterable<? super T>> hasItem(Matcher<? super T> itemMatcher) { in hasItem() method in IsCollectionContaining
84 public static <T> Matcher<Iterable<? super T>> hasItem(T item) { in hasItem() method in IsCollectionContaining
127 all.add(hasItem(item)); in hasItems()
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/
DCoreMatchers.java173 …public static <T> org.hamcrest.Matcher<java.lang.Iterable<? super T>> hasItem(org.hamcrest.Matcher… in hasItem() method in CoreMatchers
174 return org.hamcrest.core.IsCollectionContaining.<T>hasItem(itemMatcher); in hasItem()
188 public static <T> org.hamcrest.Matcher<java.lang.Iterable<? super T>> hasItem(T item) { in hasItem() method in CoreMatchers
189 return org.hamcrest.core.IsCollectionContaining.<T>hasItem(item); 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/hamcrest/hamcrest-library/src/main/java/org/hamcrest/
DMatchers.java259 …public static <T> org.hamcrest.Matcher<java.lang.Iterable<? super T>> hasItem(org.hamcrest.Matcher… in hasItem() method in Matchers
260 return org.hamcrest.core.IsCollectionContaining.<T>hasItem(itemMatcher); in hasItem()
274 public static <T> org.hamcrest.Matcher<java.lang.Iterable<? super T>> hasItem(T item) { in hasItem() method in Matchers
275 return org.hamcrest.core.IsCollectionContaining.<T>hasItem(item); in hasItem()
/external/hamcrest/
DCHANGES.txt13 * Improve mismatch description of hasItem/hasItems
/external/deqp/external/vulkancts/framework/vulkan/
DvkBinaryRegistry.cpp436 for (de::DirectoryIterator iter(srcPath); iter.hasItem(); iter.next()) in initFromPath()
/external/deqp/executor/tools/
DxeCommandLineExecutor.cpp283 for (; iter.hasItem(); iter.next()) in readCaseLists()