Home
last modified time | relevance | path

Searched refs:allOf (Results 1 – 25 of 41) sorted by relevance

12

/external/hamcrest/src/org/hamcrest/core/
DAllOf.java39 public static <T> Matcher<T> allOf(Matcher<? extends T>... matchers) { in allOf() method in AllOf
40 return allOf(Arrays.asList(matchers)); in allOf()
47 public static <T> Matcher<T> allOf(Iterable<Matcher<? extends T>> matchers) { in allOf() method in AllOf
/external/hamcrest/library/src/org/hamcrest/collection/
DIsCollectionContaining.java3 import static org.hamcrest.core.AllOf.allOf;
52 return allOf(all); in hasItems()
62 return allOf(all); in hasItems()
/external/junit/src/org/junit/internal/matchers/
DIsCollectionContaining.java3 import static org.hamcrest.core.AllOf.allOf;
54 return allOf(all); in hasItems()
64 return allOf(all); in hasItems()
DCombinableMatcher.java3 import static org.hamcrest.CoreMatchers.allOf;
27 return new CombinableMatcher<T>(allOf(matcher, fMatcher)); in and()
/external/guava/guava-tests/test/com/google/common/reflect/
DClassPathTest.java71 ASSERT.that(byName.keySet()).has().allOf( in testGetResources()
76 ASSERT.that(byToString.keySet()).has().allOf( in testGetResources()
104 ASSERT.that(names).has().allOf(anonymousClass.getName(), LocalClass.class.getName(), in testGetAllClasses()
106 ASSERT.that(strings).has().allOf(anonymousClass.getName(), LocalClass.class.getName(), in testGetAllClasses()
108 ASSERT.that(classes).has().allOf(anonymousClass, LocalClass.class, ClassPath.class, in testGetAllClasses()
111 ASSERT.that(simpleNames).has().allOf("", "Local", "ClassPath", "ClassPathTest"); in testGetAllClasses()
129 ASSERT.that(names).has().allOf(ClassPath.class.getName(), ClassPathTest.class.getName()); in testGetTopLevelClasses()
130 ASSERT.that(strings).has().allOf(ClassPath.class.getName(), ClassPathTest.class.getName()); in testGetTopLevelClasses()
131 ASSERT.that(classes).has().allOf(ClassPath.class, ClassPathTest.class); in testGetTopLevelClasses()
133 ASSERT.that(simpleNames).has().allOf("ClassPath", "ClassPathTest"); in testGetTopLevelClasses()
[all …]
/external/hamcrest/src/org/hamcrest/
DCoreMatchers.java72 public static <T> org.hamcrest.Matcher<T> allOf(org.hamcrest.Matcher<? extends T>... matchers) { in allOf() method in CoreMatchers
73 return org.hamcrest.core.AllOf.allOf(matchers); in allOf()
79 …public static <T> org.hamcrest.Matcher<T> allOf(java.lang.Iterable<org.hamcrest.Matcher<? extends … in allOf() method in CoreMatchers
80 return org.hamcrest.core.AllOf.allOf(matchers); in allOf()
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DMultimapKeysTester.java53 ASSERT.that(keys).has().allOf(sampleKeys().e0, sampleKeys().e1); in testKeys()
54 ASSERT.that(keys.entrySet()).has().allOf( in testKeys()
75 ASSERT.that(keys).has().allOf(null, sampleKeys().e1); in testKeysWithNullKey()
76 ASSERT.that(keys.entrySet()).has().allOf( in testKeysWithNullKey()
DMultimapEntriesTester.java53 ASSERT.that(multimap().entries()).has().allOf( in testContainsEntryWithNullKeyPresent()
66 ASSERT.that(multimap().entries()).has().allOf( in testContainsEntryWithNullValuePresent()
DMultimapPutTester.java151 ASSERT.that(entries).has().allOf(Helpers.mapEntry(sampleKeys().e3, sampleValues().e3)); in testPutNotPresentKeyPropagatesToEntries()
160 ASSERT.that(entries).has().allOf(Helpers.mapEntry(sampleKeys().e0, sampleValues().e3)); in testPutPresentKeyPropagatesToEntries()
DSortedSetMultimapTestSuiteBuilder.java82 if (Collections.disjoint(features, EnumSet.allOf(CollectionSize.class))) { in computeMultimapAsMapGetTestSuite()
DMultimapPutAllMultimapTester.java112 ASSERT.that(getCollection).has().allOf(sampleValues().e3); in testPutAllPropagatesToGet()
DListMultimapTestSuiteBuilder.java83 if (Collections.disjoint(features, EnumSet.allOf(CollectionSize.class))) { in computeMultimapAsMapGetTestSuite()
DSetMultimapTestSuiteBuilder.java81 if (Collections.disjoint(features, EnumSet.allOf(CollectionSize.class))) { in computeMultimapAsMapGetTestSuite()
/external/clang/unittests/AST/
DASTContextParentMapTest.cpp56 allOf(hasParent(recordDecl(unless(isTemplateInstantiation()))), in TEST()
66 allOf(hasAncestor(recordDecl(isTemplateInstantiation())), in TEST()
/external/droiddriver/src/io/appium/droiddriver/finders/
DBy.java181 public static MatchFinder allOf(final MatchFinder... finders) { in allOf() method in By
182 return new MatchFinder(Predicates.allOf(getPredicates(finders))); in allOf()
DPredicates.java72 public static <T> Predicate<T> allOf(final Predicate<? super T> first,
101 public static <T> Predicate<T> allOf(final Predicate<? super T>... components) {
/external/hamcrest/library/src/org/hamcrest/
DMatchers.java72 public static <T> org.hamcrest.Matcher<T> allOf(org.hamcrest.Matcher<? extends T>... matchers) { in allOf() method in Matchers
73 return org.hamcrest.core.AllOf.allOf(matchers); in allOf()
79 …public static <T> org.hamcrest.Matcher<T> allOf(java.lang.Iterable<org.hamcrest.Matcher<? extends … in allOf() method in Matchers
80 return org.hamcrest.core.AllOf.allOf(matchers); in allOf()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DIteratorFeature.java64 Collections.unmodifiableSet(EnumSet.allOf(IteratorFeature.class));
/external/guava/guava-gwt/test-super/com/google/common/testing/super/com/google/common/testing/
DFakeTickerTest.java75 for (TimeUnit timeUnit : EnumSet.allOf(TimeUnit.class)) { in testAutoIncrementStep_resetToZero()
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp434 callExpr(allOf(callee(functionDecl(hasName("f"))), in TEST()
437 callExpr(allOf(callee(functionDecl(hasName("f"))), in TEST()
442 callExpr(allOf(callee(functionDecl(hasName("f"))), in TEST()
448 callExpr(allOf(callee(functionDecl(hasName("f"))), in TEST()
458 recordDecl(anyOf(hasName("Y"), allOf(isDerivedFrom("X"), hasName("Z")))); in TEST()
2018 allOf(forField(hasName("foo_")), isWritten()))))); in TEST()
2020 allOf(forField(hasName("bar_")), isWritten()))))); in TEST()
2022 allOf(forField(hasName("bar_")), unless(isWritten())))))); in TEST()
3364 recordDecl(hasName("A"), allOf(hasDescendant(m), anyOf(m, anything()))), in TEST()
3832 allOf(hasAncestor(recordDecl(isTemplateInstantiation())), in TEST()
[all …]
/external/guava/guava-testlib/test/com/google/common/testing/
DFakeTickerTest.java86 for (TimeUnit timeUnit : EnumSet.allOf(TimeUnit.class)) { in testAutoIncrementStep_resetToZero()
/external/droiddriver/src/io/appium/droiddriver/scroll/
DSentinelStrategy.java149 super(Predicates.allOf(original.predicate, extraPredicate)); in MorePredicateGetter()
/external/guava/guava/src/com/google/common/base/
DEnums.java145 for (T enumInstance : EnumSet.allOf(enumClass)) { in populateCache()
/external/dexmaker/src/dx/java/com/android/dx/ssa/
DOptimizer.java74 EnumSet.allOf(OptionalStep.class)); in optimize()
/external/guava/guava-tests/test/com/google/common/collect/
DEnumMultisetTest.java170 .setDefault(Iterable.class, EnumSet.allOf(Color.class))

12