Home
last modified time | relevance | path

Searched refs:hasKey (Results 1 – 16 of 16) sorted by relevance

/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/collection/
DIsMapContainingKeyTest.java11 import static org.hamcrest.collection.IsMapContaining.hasKey;
17 return hasKey("foo"); in createMatcher()
24 assertMatches("Matches single key", hasKey("a"), map); in testMatchesSingletonMapContainingKey()
33 assertMatches("Matches a", hasKey("a"), map); in testMatchesMapContainingKey()
34 assertMatches("Matches c", hasKey("c"), map); in testMatchesMapContainingKey()
54 assertThat(map, hasKey(1)); in testMatchesMapContainingKeyWithIntegerKeys()
62 assertThat(map, hasKey((Number)1)); in testMatchesMapContainingKeyWithNumberKeys()
69 assertDescription("map containing [\"a\"->ANYTHING]", hasKey("a")); in testHasReadableDescription()
73 assertMismatchDescription("map was []", hasKey("Foo"), new HashMap<String,Integer>()); in testDoesNotMatchEmptyMap()
82 assertMismatchDescription("map was [<a=1>, <b=2>, <c=3>]", hasKey("d"), map); in testDoesNotMatchMapMissingKey()
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/collection/
DIsMapContaining.java87 public static <K> Matcher<Map<? extends K, ?>> hasKey(Matcher<? super K> keyMatcher) { in hasKey() method in IsMapContaining
100 public static <K> Matcher<Map<? extends K, ?>> hasKey(K key) { in hasKey() method in IsMapContaining
/external/guava/guava-tests/test/com/google/common/cache/
DLocalLoadingCacheTest.java163 assertThat(map).hasKey(three).withValue(one); in testStatsNoops()
164 assertThat(map).hasKey(one).withValue(two); in testStatsNoops()
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/
DMatchers.java1087 …public static <K> org.hamcrest.Matcher<java.util.Map<? extends K,?>> hasKey(org.hamcrest.Matcher<?… in hasKey() method in Matchers
1088 return org.hamcrest.collection.IsMapContaining.<K>hasKey(keyMatcher); in hasKey()
1100 public static <K> org.hamcrest.Matcher<java.util.Map<? extends K,?>> hasKey(K key) { in hasKey() method in Matchers
1101 return org.hamcrest.collection.IsMapContaining.<K>hasKey(key); in hasKey()
/external/hamcrest/
DCHANGES.txt84 generics bug in hasKey and hasValue static factories previously declared
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyMap.java310 public IRubyObject hasKey(ThreadContext context, IRubyObject key) { in hasKey() method in RubyMap
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.equinox.security_1.0.200.v20100503.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/guice/extensions/struts2/lib/
Dxwork-core-2.2.1.jarMETA-INF/ META-INF/MANIFEST.MF xwork-validator-definition-1.0. ...
/external/guice/extensions/persist/lib/
Ddb4o-6.4.14.8131-java5.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/db4o/ com/ ...
/external/robolectric/v1/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/external/robolectric/v3/runtime/
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...