Searched refs:asModuleChain (Results 1 – 8 of 8) sorted by relevance
/external/guice/core/test/com/google/inject/ |
D | BinderTest.java | 19 import static com.google.inject.Asserts.asModuleChain; 331 asModuleChain(ParentModule.class, FooModule.class, ConstantModule.class), in testSettingBindingTwice() 333 asModuleChain(ParentModule.class, BarModule.class, ConstantModule.class)); in testSettingBindingTwice() 509 asModuleChain(OuterCoreModule.class, InnerCoreModule.class), in testCannotBindToGuiceTypes() 513 asModuleChain(OuterCoreModule.class, InnerCoreModule.class), in testCannotBindToGuiceTypes() 517 asModuleChain(OuterCoreModule.class, InnerCoreModule.class), in testCannotBindToGuiceTypes() 521 asModuleChain(OuterCoreModule.class, InnerCoreModule.class), in testCannotBindToGuiceTypes() 525 asModuleChain(OuterCoreModule.class, InnerCoreModule.class), in testCannotBindToGuiceTypes() 529 asModuleChain(OuterCoreModule.class, InnerCoreModule.class), in testCannotBindToGuiceTypes() 533 asModuleChain(OuterCoreModule.class, InnerCoreModule.class), in testCannotBindToGuiceTypes() [all …]
|
D | TypeConversionTest.java | 19 import static com.google.inject.Asserts.asModuleChain; 183 asModuleChain(OuterErrorModule.class, InnerErrorModule.class), in testInvalidInteger() 338 asModuleChain(OuterModule.class, InnerModule.class), in testNullCustomValue() 343 asModuleChain(OuterModule.class, InnerModule.class, ConverterNullModule.class), in testNullCustomValue() 345 asModuleChain(OuterModule.class, InnerModule.class)); in testNullCustomValue() 364 asModuleChain(OuterModule.class, InnerModule.class), in testCustomValueTypeMismatch() 369 asModuleChain(OuterModule.class, InnerModule.class, ConverterCustomModule.class), in testCustomValueTypeMismatch() 372 asModuleChain(OuterModule.class, InnerModule.class)); in testCustomValueTypeMismatch() 435 asModuleChain(OuterAmbiguousModule.class, InnerAmbiguousModule.class), in testAmbiguousTypeConversion() 440 asModuleChain( in testAmbiguousTypeConversion() [all …]
|
D | PrivateModuleTest.java | 19 import static com.google.inject.Asserts.asModuleChain; 469 asModuleChain(FailingModule.class, ManyPrivateModules.class, FailingPrivateModule.class), in testParentBindsSomethingInPrivate() 471 asModuleChain( in testParentBindsSomethingInPrivate() 489 asModuleChain(ManyPrivateModules.class, FailingPrivateModule.class), in testParentBindingToPrivateLinkedJitBinding() 491 asModuleChain(ManyPrivateModules.class, SecondFailingPrivateModule.class), in testParentBindingToPrivateLinkedJitBinding()
|
D | TypeListenerTest.java | 19 import static com.google.inject.Asserts.asModuleChain; 199 asModuleChain(OuterThrowsModule.class, InnerThrowsModule.class), 204 asModuleChain(OuterThrowsModule.class, InnerThrowsModule.class),
|
D | ScopesTest.java | 19 import static com.google.inject.Asserts.asModuleChain; 311 asModuleChain(OuterRuntimeModule.class, InnerRuntimeModule.class)); in testScopeAnnotationWithoutRuntimeRetention() 333 asModuleChain(OuterDeprecatedModule.class, InnerDeprecatedModule.class)); in testBindScopeToAnnotationWithoutScopeAnnotation() 362 asModuleChain(OuterScopeModule.class, CustomNoScopeModule.class), in testBindScopeTooManyTimes() 365 asModuleChain(OuterScopeModule.class, CustomSingletonModule.class)); in testBindScopeTooManyTimes()
|
D | Asserts.java | 54 public static String asModuleChain(Class... classes) { in asModuleChain() method in Asserts
|
/external/guice/core/test/com/google/inject/util/ |
D | OverrideModuleTest.java | 19 import static com.google.inject.Asserts.asModuleChain; 208 asModuleChain(Modules.OverrideModule.class, in testOverridesTwiceFails() 211 asModuleChain(Modules.OverrideModule.class, in testOverridesTwiceFails() 240 asModuleChain(Modules.OverrideModule.class, replacements.getClass()), in testOverridesDoesntFixTwiceBoundInOriginal() 242 asModuleChain(Modules.OverrideModule.class, original.getClass())); in testOverridesDoesntFixTwiceBoundInOriginal() 342 asModuleChain(originalWrapper.getClass(), original.getClass()), in testFailsIfOverridenScopeInstanceHasBeenUsed() 344 asModuleChain(originalWrapper.getClass(), original.getClass()), in testFailsIfOverridenScopeInstanceHasBeenUsed() 346 asModuleChain(originalWrapper.getClass(), original.getClass()), in testFailsIfOverridenScopeInstanceHasBeenUsed() 348 asModuleChain(Modules.OverrideModule.class, replacements.getClass())); in testFailsIfOverridenScopeInstanceHasBeenUsed()
|
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/ |
D | MapBinderTest.java | 19 import static com.google.inject.Asserts.asModuleChain; 447 asModuleChain(Main.class, Module1.class), in testExhaustiveDuplicateErrorMessage() 448 asModuleChain(Main.class, Module2.class), in testExhaustiveDuplicateErrorMessage() 450 asModuleChain(Main.class, Module2.class), in testExhaustiveDuplicateErrorMessage() 451 asModuleChain(Main.class, Module3.class), in testExhaustiveDuplicateErrorMessage() 453 asModuleChain(Main.class, MapBinder.RealMapBinder.class)); in testExhaustiveDuplicateErrorMessage()
|