/external/guice/core/test/com/google/inject/ |
D | JitBindingsTest.java | 59 new AbstractModule() { in testLinkedBindingWorks() 77 new AbstractModule() { in testMoreBasicsWork() 97 new AbstractModule() { in testLinkedEagerSingleton() 115 new AbstractModule() { in testBasicsWithEagerSingleton() 135 new AbstractModule() { in testLinkedToScoped() 153 new AbstractModule() { in testBasicsWithScoped() 173 new AbstractModule() { in testFailsIfInjectingScopedDirectlyWhenItIsntBound() 191 new AbstractModule() { in testLinkedProviderBindingWorks() 208 new AbstractModule() { in testJitGetFails() 225 new AbstractModule() { in testJitInjectionFails() [all …]
|
D | BinderTest.java | 101 new AbstractModule() { in testMissingBindings() 107 new AbstractModule() { in testMissingBindings() 113 new AbstractModule() { in testMissingBindings() 119 new AbstractModule() { in testMissingBindings() 160 new AbstractModule() { in testMissingDependency() 186 new AbstractModule() { in testDanglingConstantBinding() 204 new AbstractModule() { in testRecursiveBinding() 223 new AbstractModule() { in testBindingNullConstant() 243 new AbstractModule() { in testToStringOnBinderApi() 273 new AbstractModule() { in testNothingIsSerializableInBinderApi() [all …]
|
D | TypeConversionTest.java | 81 new AbstractModule() { in testOneConstantInjection() 100 new AbstractModule() { in testConstantInjection() 133 new AbstractModule() { in testConstantInjectionWithExplicitBindingsRequired() 171 static class OuterErrorModule extends AbstractModule { 178 static class InnerErrorModule extends AbstractModule { 210 new AbstractModule() { in testInvalidCharacter() 234 new AbstractModule() { in testInvalidEnum() 258 new AbstractModule() { in testToInstanceIsTreatedLikeConstant() 278 new AbstractModule() { in testCustomTypeConversion() 300 static class InvalidCustomValueModule extends AbstractModule { [all …]
|
D | RequireAtInjectOnConstructorsTest.java | 31 new AbstractModule() { in testNoCxtors_explicitBinding() 54 new AbstractModule() { in testNoCxtors_jitBinding() 76 new AbstractModule() { in testNoCxtors_implicitBinding() 99 new AbstractModule() { in testNoCxtors_inheritedByPrivateModules() 128 new AbstractModule() { in testNoCxtors_accumulatesAllErrors() 157 new AbstractModule() { in testNoCxtors_separateOptionsForPrivateModules() 189 new AbstractModule() { in testManyConstructorsButNoneWithAtInject() 212 new AbstractModule() { in testRequireAtInjectStillAllowsToConstructorBindings()
|
D | CircularDependencyTest.java | 47 new AbstractModule() { in testCircularlyDependentConstructors() 60 new AbstractModule() { in testCircularlyDependentConstructorsWithProviderMethods() 79 new AbstractModule() { in testCircularlyDependentConstructorsWithProviderInstances() 111 new AbstractModule() { in testCircularlyDependentConstructorsWithProviderKeys() 248 new AbstractModule() { in testUnresolvableCircularDependenciesWithProviderInstances() 273 new AbstractModule() { in testUnresolvableCircularDependenciesWithProviderKeys() 347 new AbstractModule() { in testDisabledCircularDependency() 367 new AbstractModule() { in testDisabledCircularDependenciesWithProviderInstances() 397 new AbstractModule() { in testDisabledCircularDependenciesWithProviderKeys() 419 new AbstractModule() { in testDisabledCircularDependenciesWithProvidedBy() [all …]
|
D | RequestInjectionTest.java | 51 new AbstractModule() { in testInjectMembers() 68 new AbstractModule() { in testInjectStatics() 85 new AbstractModule() { in testInjectMembersAndStatics() 104 new AbstractModule() { in testValidationErrorOnInjectedMembers() 123 new AbstractModule() { in testInjectionErrorOnInjectedMembers() 150 new AbstractModule() { in testUserExceptionWhileInjectingInstance() 168 new AbstractModule() { in testUserExceptionWhileInjectingStatically() 226 new AbstractModule() { in testEarlyInjectableReferencesWithSameIdentity()
|
D | ParentInjectorTest.java | 129 new AbstractModule() { in testScopesInherited() 137 new AbstractModule() { in testScopesInherited() 158 new AbstractModule() { in testInterceptorsInherited() 170 new AbstractModule() { in testInterceptorsInherited() 204 new AbstractModule() { in testInjectorInjectionSpanningInjectors() 249 new AbstractModule() { in testScopeBoundInChildInjectorOnly() 274 new AbstractModule() { in testErrorInParentButOkayInChild() 306 new AbstractModule() { 318 new AbstractModule() { 339 new AbstractModule() { [all …]
|
D | MethodInterceptionTest.java | 68 new AbstractModule() { in testSharedProxyClasses() 78 new AbstractModule() { in testSharedProxyClasses() 91 new AbstractModule() { in testSharedProxyClasses() 108 new AbstractModule() { in testSharedProxyClasses() 128 new AbstractModule() { in testGetThis() 152 new AbstractModule() { in testInterceptingFinalClass() 184 new AbstractModule() { in testSpiAccessToInterceptors() 219 new AbstractModule() { in testInterceptedMethodThrows() 246 new AbstractModule() { in testNotInterceptedMethodsInInterceptedClassDontAddFrames() 305 new AbstractModule() { in testInterceptingNonBridgeWorks() [all …]
|
D | BindingTest.java | 61 new AbstractModule() { in testExplicitCyclicDependency() 76 static class MyModule extends AbstractModule { 124 new AbstractModule() { in testBindToUnboundLinkedBinding() 143 new AbstractModule() { in testScopeIsAppliedToKeyNotTarget() 254 new AbstractModule() { in testToConstructorBinding() 272 new AbstractModule() { in testToConstructorBindingsOnParameterizedTypes() 296 new AbstractModule() { in testToConstructorBindingsFailsOnRawTypes() 327 new AbstractModule() { in testToConstructorAndMethodInterceptors() 347 new AbstractModule() { in testInaccessibleConstructor() 368 new AbstractModule() { in testToConstructorAndScopes() [all …]
|
D | GenericInjectionTest.java | 38 new AbstractModule() { in testGenericInjection() 67 new AbstractModule() { in testExplicitBindingOfGenericType() 96 new AbstractModule() { in testInjectingParameterizedDependenciesForBindingTarget() method 110 new AbstractModule() { in testInjectingParameterizedDependenciesForBindingSource() method 124 new AbstractModule() { in testBindingToSubtype() method 138 new AbstractModule() { in testBindingSubtype() method 149 new AbstractModule() { in assertParameterizedDepsInjected() 201 new AbstractModule() { in testImmediateTypeVariablesAreInjected()
|
D | ProvisionExceptionTest.java | 61 new AbstractModule() { in testExceptionsCollapsedWithScopes() 97 new AbstractModule() { in testBindToProviderInstanceExceptions() 133 new AbstractModule() { in testProvisionExceptionsAreWrappedForBindToProviderType() 155 new AbstractModule() { in testProvisionExceptionsAreWrappedForBindToProviderInstance() 198 new AbstractModule() { in testMultipleCauses() 283 new AbstractModule() { in testBindingAnnotationWarningForScala() 295 new AbstractModule() { in testLinkedBindings() 317 new AbstractModule() { in testProviderKeyBindings() 339 new AbstractModule() { in testDuplicateCausesCollapsed() 361 new AbstractModule() { in testMultipleDuplicates()
|
/external/guice/core/test/com/google/inject/spi/ |
D | ModuleAnnotatedMethodScannerTest.java | 26 import com.google.inject.AbstractModule; 51 new AbstractModule() { in testScanning() 82 new AbstractModule() { in testSkipSources() 88 new AbstractModule() { in testSkipSources() 104 new AbstractModule() { in testWithSource() 110 new AbstractModule() { in testWithSource() 126 new AbstractModule() { in testMoreThanOneClaimedAnnotationFails() 168 return new AbstractModule() { in module() 221 return new AbstractModule() { 241 static class SomeModule extends AbstractModule { [all …]
|
D | ElementsTest.java | 27 import com.google.inject.AbstractModule; 76 new AbstractModule() { in testAddMessageErrorCommand() 99 new AbstractModule() { in testAddThrowableErrorCommand() 118 new AbstractModule() { in testErrorsAddedWhenExceptionsAreThrown() 122 new AbstractModule() { in testErrorsAddedWhenExceptionsAreThrown() 157 new AbstractModule() { in testBindConstantAnnotations() 186 new AbstractModule() { in testBindConstantTypes() 314 new AbstractModule() { in testBindKeysNoAnnotations() 338 new AbstractModule() { in testBindKeysWithAnnotationType() 362 new AbstractModule() { in testBindKeysWithAnnotationInstance() [all …]
|
D | ProviderMethodsTest.java | 26 import com.google.inject.AbstractModule; 150 new AbstractModule() { 206 new AbstractModule() { 245 abstract class ProvideTs<T> extends AbstractModule { 276 new AbstractModule() { 298 new AbstractModule() { 321 new AbstractModule() { 355 new AbstractModule() { 394 new AbstractModule() { 425 new AbstractModule() { [all …]
|
/external/guice/core/test/com/google/inject/util/ |
D | OverrideModuleTest.java | 29 import com.google.inject.AbstractModule; 92 new AbstractModule() { in testOverrideConstant() 100 new AbstractModule() { in testOverrideConstant() 113 new AbstractModule() { in testGetProviderInModule() 128 new AbstractModule() { in testOverrideWhatGetProviderProvided() 145 new AbstractModule() { in testOverrideUsingOriginalsGetProvider() 154 new AbstractModule() { in testOverrideUsingOriginalsGetProvider() 168 new AbstractModule() { in testOverrideOfOverride() 178 new AbstractModule() { in testOverrideOfOverride() 189 new AbstractModule() { in testOverrideOfOverride() [all …]
|
/external/guice/extensions/throwingproviders/test/com/google/inject/throwingproviders/ |
D | ThrowingProviderTest.java | 26 import com.google.inject.AbstractModule; 69 new AbstractModule() { 87 new AbstractModule() { 226 new AbstractModule() { in testAnnotations_Bind() 247 new AbstractModule() { in testAnnotations_Provides() 314 new AbstractModule() { in testThrowingProviderSubclassing() 331 new AbstractModule() { in testBindingToNonInterfaceType_Bind() 350 new AbstractModule() { in testBindingToNonInterfaceType_Provides() 374 new AbstractModule() { in testBindingToSubSubInterface_Bind() 393 new AbstractModule() { in testBindingToSubSubInterface_Provides() [all …]
|
D | CheckedProviderTest.java | 26 import com.google.inject.AbstractModule; 100 new AbstractModule() { in setUp() 119 new AbstractModule() { in setUp() 144 new AbstractModule() { in setUp() 305 new AbstractModule() { in testAnnotations_Bind() 326 new AbstractModule() { in testAnnotations_Provides() 362 new AbstractModule() { in testAnnotations_Cxtor() 423 new AbstractModule() { in testThrowingProviderSubclassing() 440 new AbstractModule() { in testBindingToNonInterfaceType_Bind() 459 new AbstractModule() { in testBindingToNonInterfaceType_Provides() [all …]
|
/external/guice/core/test/com/google/inject/internal/ |
D | MultibinderTest.java | 38 import com.google.inject.AbstractModule; 104 new AbstractModule() { in testMultibinderAggregatesMultipleModules() 114 new AbstractModule() { in testMultibinderAggregatesMultipleModules() 145 new AbstractModule() { in testMultibinderAggregationForAnnotationInstance() 177 new AbstractModule() { in testMultibinderAggregationForAnnotationType() 209 new AbstractModule() { in testMultibinderWithMultipleAnnotationValueSets() 250 new AbstractModule() { in testMultibinderWithMultipleAnnotationTypeSets() 291 new AbstractModule() { in testMultibinderWithMultipleSetTypes() 309 new AbstractModule() { in testMultibinderWithEmptySet() 325 new AbstractModule() { in testMultibinderSetIsUnmodifiable() [all …]
|
D | MapBinderTest.java | 35 import com.google.inject.AbstractModule; 119 new AbstractModule() { in testAllBindings() 188 new AbstractModule() { in testMapBinderAggregatesMultipleModules() 199 new AbstractModule() { in testMapBinderAggregatesMultipleModules() 234 new AbstractModule() { in testMapBinderAggregationForAnnotationInstance() 271 new AbstractModule() { in testMapBinderAggregationForAnnotationType() 307 new AbstractModule() { in testMapBinderWithMultipleAnnotationValueSets() 361 new AbstractModule() { in testMapBinderWithMultipleAnnotationTypeSets() 415 new AbstractModule() { in testMapBinderWithMultipleTypes() 452 new AbstractModule() { in testMapBinderWithEmptyMap() [all …]
|
/external/guice/jdk8-tests/test/com/google/inject/jdk8/ |
D | Java8LanguageFeatureBindingTest.java | 19 import com.google.inject.AbstractModule; 49 new AbstractModule() { in testBinding_lambdaToInterface() 64 new AbstractModule() { in testProviderMethod_returningLambda() 79 new AbstractModule() { in testProviderMethod_containingLambda_throwingException() 102 new AbstractModule() { in testProvider_usingJdk8Features() 116 new AbstractModule() { in testProvider_usingJdk8Features() 144 new AbstractModule() { in testBinding_toProvider_lambda() 159 new AbstractModule() { in testBinding_toProvider_methodReference()
|
D | DefaultMethodInterceptionTest.java | 23 import com.google.inject.AbstractModule; 79 new AbstractModule() { in testInterceptedDefaultMethod() 97 new AbstractModule() { in testInterceptedDefaultMethod_calledByAnotherMethod() 126 new AbstractModule() { in testInterceptedDefaultMethod_whenParentClassDefinesNonInterceptedMethod() 162 new AbstractModule() { in testInterceptedDefaultMethod_whenParentClassDefinesInterceptedMethod() 197 new AbstractModule() { in testInterception_ofAllMethodsOnType() 216 new AbstractModule() { in testInterception_ofAllMethodsOnType_interceptsInheritedDefaultMethod()
|
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/ |
D | FactoryModuleBuilderTest.java | 24 import com.google.inject.AbstractModule; 62 new AbstractModule() { in testImplicitForwardingAssistedBindingFailsWithInterface() 84 new AbstractModule() { in testImplicitForwardingAssistedBindingFailsWithAbstractClass() 107 new AbstractModule() { in testImplicitForwardingAssistedBindingCreatesNewObjects() 129 new AbstractModule() { in testExplicitForwardingAssistedBindingFailsWithInterface() 155 new AbstractModule() { in testExplicitForwardingAssistedBindingFailsWithAbstractClass() 182 new AbstractModule() { in testExplicitForwardingAssistedBindingCreatesNewObjects() 207 new AbstractModule() { in testAnnotatedAndParentBoundReturnValue() 230 new AbstractModule() { in testParentBoundReturnValue() 250 new AbstractModule() { in testConfigureAnnotatedReturnValue() [all …]
|
D | FactoryProvider2Test.java | 22 import com.google.inject.AbstractModule; 60 new AbstractModule() { in testAssistedFactory() 82 new AbstractModule() { in testAssistedFactoryWithAnnotations() 147 new AbstractModule() { in testFactoryUsesInjectedConstructor() 185 new AbstractModule() { in testConstructorDoesntNeedAllFactoryMethodArguments() 210 new AbstractModule() { in testMethodsAndFieldsGetInjected() 250 new AbstractModule() { in testProviderInjection() 280 new AbstractModule() { in testAssistedProviderInjection() 317 new AbstractModule() { in testTypeTokenInjection() 353 new AbstractModule() { in testTypeTokenProviderInjection() [all …]
|
D | ManyConstructorsTest.java | 19 import com.google.inject.AbstractModule; 32 new AbstractModule() { in testTwoConstructors() 50 new AbstractModule() { in testDifferentOrderParameters() 71 new AbstractModule() { in testInterfaceToImpl() 92 new AbstractModule() { in testUsingOneConstructor() 105 new AbstractModule() { in testUsingOneConstructor() 120 new AbstractModule() { in testTooManyMatchingConstructors() 144 new AbstractModule() { in testNoMatchingConstructorsBecauseTooManyParams() 164 new AbstractModule() { in testNoMatchingConstrucotsBecauseTooLittleParams() 265 new AbstractModule() { in testDependenciesAndOtherAnnotations()
|
D | FactoryProviderTest.java | 22 import com.google.inject.AbstractModule; 63 new AbstractModule() { in testAssistedFactory() 85 new AbstractModule() { in testFactoryBindingDependencies() 104 new AbstractModule() { in testAssistedFactoryWithAnnotations() 169 new AbstractModule() { in testFactoryWithMultipleMethods() 246 new AbstractModule() { in testMethodsAndFieldsGetInjected() 286 new AbstractModule() { in testProviderInjection() 316 new AbstractModule() { in testTypeTokenInjection() 352 new AbstractModule() { in testTypeTokenProviderInjection() 391 new AbstractModule() { in testAssistInjectionInNonPublicConstructor() [all …]
|