Home
last modified time | relevance | path

Searched refs:hasSize (Results 1 – 10 of 10) sorted by relevance

/external/dagger2/compiler/src/it/functional-tests/src/test/java/test/subcomponent/
DSubcomponentTest.java75 assertThat(parentObjectSet).hasSize(2); in multibindingContributions()
77 assertThat(childObjectSet).hasSize(3); in multibindingContributions()
80 assertThat(grandchildObjectSet).hasSize(4); in multibindingContributions()
81 assertThat(intersection(parentObjectSet, childObjectSet)).hasSize(1); in multibindingContributions()
82 assertThat(intersection(parentObjectSet, grandchildObjectSet)).hasSize(1); in multibindingContributions()
83 assertThat(intersection(childObjectSet, grandchildObjectSet)).hasSize(1); in multibindingContributions()
DSubcomponentMultibindingsTest.java75 .hasSize(1); in testOverriddenMultibindingsInSubcomponents()
/external/dagger2/compiler/src/it/functional-tests/src/test/java/test/cycle/
DCycleTest.java83 assertThat(cycleMapComponent.y().mapOfProvidersOfX).hasSize(1); in providerMapIndirectionCycle()
87 assertThat(cycleMapComponent.y().mapOfProvidersOfY.get("Y").get().mapOfProvidersOfX).hasSize(1); in providerMapIndirectionCycle()
88 assertThat(cycleMapComponent.y().mapOfProvidersOfY.get("Y").get().mapOfProvidersOfY).hasSize(1); in providerMapIndirectionCycle()
89 assertThat(cycleMapComponent.y().mapOfProvidersOfY).hasSize(1); in providerMapIndirectionCycle()
/external/dagger2/producers/src/test/java/dagger/producers/internal/
DSetOfProducedProducerTest.java70 assertThat(results.failures).hasSize(1); in delegateSetNpe()
83 assertThat(results.failures).hasSize(1); in oneOfDelegateSetNpe()
95 assertThat(results.failures).hasSize(1); in delegateElementNpe()
107 assertThat(results.failures).hasSize(1); in oneOfDelegateElementNpe()
/external/dagger2/compiler/src/it/functional-tests/src/test/java/test/
DMultibindingTest.java47 assertThat(map).hasSize(2); in map()
54 assertThat(map).hasSize(2); in mapOfArrays()
63 assertThat(mapOfProviders).hasSize(2); in mapOfProviders()
/external/dagger2/compiler/src/it/producers-functional-tests/src/test/java/producerstest/monitoring/
DMonitoringTest.java75 assertThat(componentMonitor.monitors).hasSize(3); in basicMonitoring()
115 assertThat(componentMonitor.monitors).hasSize(3); in basicMonitoringWithFailure()
/external/dagger2/compiler/src/it/producers-functional-tests/src/test/java/producerstest/
DMultibindingTest.java70 assertThat(failures).hasSize(1); in setBindingOfProducedWithFailures()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp239 REGISTER_MATCHER(hasSize); in RegistryMaps()
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp49 EXPECT_TRUE(Finder.addDynamicMatcher(constantArrayType(hasSize(42)), in TEST()
54 EXPECT_FALSE(Finder.addDynamicMatcher(hasSize(2), nullptr)); in TEST()
4209 EXPECT_TRUE(matches("int a[42];", constantArrayType(hasSize(42)))); in TEST()
4210 EXPECT_TRUE(matches("int b[2*21];", constantArrayType(hasSize(42)))); in TEST()
4211 EXPECT_TRUE(notMatches("int c[41], d[43];", constantArrayType(hasSize(42)))); in TEST()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h3854 AST_MATCHER_P(ConstantArrayType, hasSize, unsigned, N) { in AST_MATCHER_P() argument