Home
last modified time | relevance | path

Searched refs:asModuleChain (Results 1 – 8 of 8) sorted by relevance

/external/guice/core/test/com/google/inject/
DBinderTest.java19 import static com.google.inject.Asserts.asModuleChain;
398 asModuleChain(ParentModule.class, FooModule.class, ConstantModule.class), in testSettingBindingTwice()
401 asModuleChain(ParentModule.class, BarModule.class, ConstantModule.class)); in testSettingBindingTwice()
591 asModuleChain(OuterCoreModule.class, InnerCoreModule.class), in testCannotBindToGuiceTypes()
594 asModuleChain(OuterCoreModule.class, InnerCoreModule.class), in testCannotBindToGuiceTypes()
597 asModuleChain(OuterCoreModule.class, InnerCoreModule.class), in testCannotBindToGuiceTypes()
600 asModuleChain(OuterCoreModule.class, InnerCoreModule.class), in testCannotBindToGuiceTypes()
603 asModuleChain(OuterCoreModule.class, InnerCoreModule.class), in testCannotBindToGuiceTypes()
606 asModuleChain(OuterCoreModule.class, InnerCoreModule.class), in testCannotBindToGuiceTypes()
609 asModuleChain(OuterCoreModule.class, InnerCoreModule.class), in testCannotBindToGuiceTypes()
[all …]
DTypeConversionTest.java19 import static com.google.inject.Asserts.asModuleChain;
196 asModuleChain(OuterErrorModule.class, InnerErrorModule.class), in testInvalidInteger()
376 asModuleChain(OuterModule.class, InnerModule.class), in testNullCustomValue()
381 asModuleChain(OuterModule.class, InnerModule.class, ConverterNullModule.class), in testNullCustomValue()
383 asModuleChain(OuterModule.class, InnerModule.class)); in testNullCustomValue()
404 asModuleChain(OuterModule.class, InnerModule.class), in testCustomValueTypeMismatch()
409 asModuleChain(OuterModule.class, InnerModule.class, ConverterCustomModule.class), in testCustomValueTypeMismatch()
412 asModuleChain(OuterModule.class, InnerModule.class)); in testCustomValueTypeMismatch()
487 asModuleChain(OuterAmbiguousModule.class, InnerAmbiguousModule.class), in testAmbiguousTypeConversion()
492 asModuleChain( in testAmbiguousTypeConversion()
[all …]
DPrivateModuleTest.java19 import static com.google.inject.Asserts.asModuleChain;
602 asModuleChain(FailingModule.class, ManyPrivateModules.class, FailingPrivateModule.class), in testParentBindsSomethingInPrivate()
604 asModuleChain( in testParentBindsSomethingInPrivate()
623 asModuleChain(ManyPrivateModules.class, FailingPrivateModule.class), in testParentBindingToPrivateLinkedJitBinding()
625 asModuleChain(ManyPrivateModules.class, SecondFailingPrivateModule.class), in testParentBindingToPrivateLinkedJitBinding()
DTypeListenerTest.java19 import static com.google.inject.Asserts.asModuleChain;
229 asModuleChain(OuterThrowsModule.class, InnerThrowsModule.class),
234 asModuleChain(OuterThrowsModule.class, InnerThrowsModule.class),
DScopesTest.java19 import static com.google.inject.Asserts.asModuleChain;
341 asModuleChain(OuterRuntimeModule.class, InnerRuntimeModule.class)); in testScopeAnnotationWithoutRuntimeRetention()
368 asModuleChain(OuterDeprecatedModule.class, InnerDeprecatedModule.class)); in testBindScopeToAnnotationWithoutScopeAnnotation()
406 asModuleChain(OuterScopeModule.class, CustomNoScopeModule.class), in testBindScopeTooManyTimes()
410 asModuleChain(OuterScopeModule.class, CustomSingletonModule.class)); in testBindScopeTooManyTimes()
DAsserts.java56 public static String asModuleChain(Class... classes) { in asModuleChain() method in Asserts
/external/guice/core/test/com/google/inject/util/
DOverrideModuleTest.java19 import static com.google.inject.Asserts.asModuleChain;
230 asModuleChain( in testOverridesTwiceFails()
235 asModuleChain( in testOverridesTwiceFails()
271 asModuleChain(Modules.OverrideModule.class, replacements.getClass()), in testOverridesDoesntFixTwiceBoundInOriginal()
273 asModuleChain(Modules.OverrideModule.class, original.getClass())); in testOverridesDoesntFixTwiceBoundInOriginal()
395 asModuleChain(originalWrapper.getClass(), original.getClass()), in testFailsIfOverridenScopeInstanceHasBeenUsed()
397 asModuleChain(originalWrapper.getClass(), original.getClass()), in testFailsIfOverridenScopeInstanceHasBeenUsed()
399 asModuleChain(originalWrapper.getClass(), original.getClass()), in testFailsIfOverridenScopeInstanceHasBeenUsed()
402 asModuleChain(Modules.OverrideModule.class, replacements.getClass())); in testFailsIfOverridenScopeInstanceHasBeenUsed()
/external/guice/core/test/com/google/inject/internal/
DMapBinderTest.java19 import static com.google.inject.Asserts.asModuleChain;
601 asModuleChain(Main.class, Module1.class), in testExhaustiveDuplicateErrorMessage()
602 asModuleChain(Main.class, Module2.class), in testExhaustiveDuplicateErrorMessage()
604 asModuleChain(Main.class, Module2.class), in testExhaustiveDuplicateErrorMessage()
605 asModuleChain(Main.class, Module3.class), in testExhaustiveDuplicateErrorMessage()
607 asModuleChain(Main.class, RealMapBinder.class)); in testExhaustiveDuplicateErrorMessage()