/external/junit/src/org/junit/internal/matchers/ |
D | IsCollectionContaining.java | 38 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()
|
D | Each.java | 4 import static org.junit.internal.matchers.IsCollectionContaining.hasItem; 11 final Matcher<Iterable<T>> allItemsAre = not(hasItem(not(individual))); in each()
|
/external/junit/src/org/junit/matchers/ |
D | JUnitMatchers.java | 18 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/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | UriMatcherTest.java | 15 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()
|
D | CameraParametersTest.java | 17 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()
|
D | ContentResolverTest.java | 6 import static org.hamcrest.CoreMatchers.hasItem; 105 assertThat(shadowContentResolver.getDeletedUris(), hasItem(uri21)); in delete_shouldTrackDeletedUris() 109 assertThat(shadowContentResolver.getDeletedUris(), hasItem(uri22)); in delete_shouldTrackDeletedUris()
|
D | CursorWrapperTest.java | 41 assertThat(cursorMethod.keySet(), hasItem(methodName)); in verifyForward()
|
/external/webkit/LayoutTests/http/tests/appcache/ |
D | dynamic-entries-no-cache.html-disabled | 82 applicationCache.hasItem('foo'); 83 log("FAIL: hasItem didn't raise an exception"); 86 log("PASS: hasItem raised INVALID_STATE_ERR"); 88 log("FAIL: hasItem raised unexpected exception " + ex);
|
D | dynamic-entries-no-cache-expected.txt | 22 PASS: hasItem raised INVALID_STATE_ERR
|
/external/webkit/Source/WebCore/bindings/js/ |
D | JSDOMApplicationCacheCustom.cpp | 47 JSValue JSDOMApplicationCache::hasItem(ExecState* exec) in hasItem() function in WebCore::JSDOMApplicationCache 55 bool result = impl()->hasItem(url, ec); in hasItem()
|
/external/webkit/Source/WebCore/ |
D | ChangeLog-2009-06-16 | 13775 (WebCore::JSDOMApplicationCache::hasItem): 15454 (WebCore::JSDOMApplicationCache::hasItem): 52241 (WebCore::JSDOMApplicationCache::hasItem): 57078 * bindings/js/JSDOMApplicationCacheCustom.cpp: (WebCore::JSDOMApplicationCache::hasItem): 57079 Added binding for hasItem(). Like other DOMApplicationCache methods, it needs to be custom 57099 hasItem convenience method. 57103 (WebCore::DOMApplicationCache::hasItem): 57105 … Added implementations of items attribute and hasItem() (note that underlying ApplicationCache
|
D | ChangeLog-2010-12-06 | 131669 (WebCore::JSDOMApplicationCache::hasItem):
|