Home
last modified time | relevance | path

Searched refs:hasEntry (Results 1 – 5 of 5) sorted by relevance

/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/collection/
DIsMapContainingTest.java9 import static org.hamcrest.collection.IsMapContaining.hasEntry;
17 return IsMapContaining.hasEntry("irrelevant", "irrelevant"); in createMatcher()
25 assertMatches("matcherA", hasEntry(equalTo("a"), equalTo(1)), map); in testMatchesMapContainingMatchingKeyAndValue()
26 assertMatches("matcherB", hasEntry(equalTo("b"), equalTo(2)), map); in testMatchesMapContainingMatchingKeyAndValue()
27 … assertMismatchDescription("map was [<a=1>, <b=2>]", hasEntry(equalTo("c"), equalTo(3)), map); in testMatchesMapContainingMatchingKeyAndValue()
42 assertMismatchDescription("was null", hasEntry(anything(), anything()), null); in testDoesNotMatchNull()
46 assertDescription("map containing [\"a\"-><2>]", hasEntry(equalTo("a"), (equalTo(2)))); in testHasReadableDescription()
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/collection/
DIsMapContaining.java58 …public static <K,V> Matcher<Map<? extends K,? extends V>> hasEntry(Matcher<? super K> keyMatcher, … in hasEntry() method in IsMapContaining
74 public static <K,V> Matcher<Map<? extends K,? extends V>> hasEntry(K key, V value) { in hasEntry() method in IsMapContaining
/external/deqp/framework/randomshaders/
DrsgVariableManager.hpp235 bool hasEntry (Filter filter = Filter()) const;
275 bool VariableManager::hasEntry (Filter filter) const in hasEntry() function in rsg::VariableManager
DrsgExpression.cpp824 …bool useRandomRange = !state.getVariableManager().hasEntry<IsWritableEntry>() || ((maxScalars > 0)… in AssignOp()
841 …DE_ASSERT(state.getVariableManager().hasEntry(IsWritableIntersectingEntry(m_valueRange.asAccess())… in AssignOp()
889 !state.getVariableManager().hasEntry(IsWritableIntersectingEntry(valueRange))) in getWeight()
896 !state.getVariableManager().hasEntry<IsWritableEntry>() && in getWeight()
1088 …bool useRandomRange = !state.getVariableManager().hasEntry(filter) || ((maxScalars > 0) && getWe… in VariableRead()
1152 if (state.getVariableManager().hasEntry(IsReadableEntry(state.getExpressionFlags())) || in getWeight()
1160 …!state.getVariableManager().hasEntry(IsReadableIntersectingEntry(valueRange, state.getExpressionFl… in getWeight()
1212 !state.getVariableManager().hasEntry(IsWritableSupersetEntry(valueRange))) in getWeight()
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/
DMatchers.java1058 …public static <K, V> org.hamcrest.Matcher<java.util.Map<? extends K,? extends V>> hasEntry(org.ham… in hasEntry() method in Matchers
1059 return org.hamcrest.collection.IsMapContaining.<K,V>hasEntry(keyMatcher, valueMatcher); in hasEntry()
1074 …public static <K, V> org.hamcrest.Matcher<java.util.Map<? extends K,? extends V>> hasEntry(K key, … in hasEntry() method in Matchers
1075 return org.hamcrest.collection.IsMapContaining.<K,V>hasEntry(key, value); in hasEntry()