Home
last modified time | relevance | path

Searched refs:assertOptionalVisitor (Results 1 – 2 of 2) sorted by relevance

/external/guice/extensions/multibindings/test/com/google/inject/multibindings/
DOptionalBinderTest.java20 import static com.google.inject.multibindings.SpiUtils.assertOptionalVisitor;
164 assertOptionalVisitor(stringKey, setOf(module), VisitType.BOTH, 0, null, null, null); in testOptionalIsAbsentByDefault()
199 assertOptionalVisitor(stringKey, in testUsesUserBoundValue()
241 assertOptionalVisitor(stringKey, setOf(module), VisitType.BOTH, 0, instance("a"), null, null); in testSetDefault()
280 assertOptionalVisitor(stringKey, setOf(module), VisitType.BOTH, 0, null, instance("a"), null); in testSetBinding()
322 assertOptionalVisitor(stringKey, in testSetBindingOverridesDefault()
378 assertOptionalVisitor(stringKey, in testSpreadAcrossModules()
426 assertOptionalVisitor(stringKey, setOf(module), VisitType.BOTH, 0, instance("a"), null, null); in testExactSameBindingCollapses_defaults()
468 assertOptionalVisitor(stringKey, setOf(module), VisitType.BOTH, 0, null, instance("a"), null); in testExactSameBindingCollapses_actual()
590 assertOptionalVisitor(Key.get(String.class, Names.named("foo")), in testQualifiedAggregatesTogether()
[all …]
DSpiUtils.java622 static <T> void assertOptionalVisitor(Key<T> keyType, in assertOptionalVisitor() method in SpiUtils