/external/guice/core/test/com/google/inject/ |
D | RequireAtInjectOnConstructorsTest.java | 39 } catch (CreationException ce) { in testNoCxtors_explicitBinding() 76 } catch (CreationException ce) { in testNoCxtors_implicitBinding() 100 } catch (CreationException ce) { in testNoCxtors_inheritedByPrivateModules() 120 } catch (CreationException ce) { in testNoCxtors_accumulatesAllErrors() 148 } catch (CreationException ce) { in testNoCxtors_separateOptionsForPrivateModules() 169 } catch (CreationException ce) { in testManyConstructorsButNoneWithAtInject()
|
D | TypeConversionTest.java | 76 public void testOneConstantInjection() throws CreationException { in testOneConstantInjection() 92 public void testConstantInjection() throws CreationException { in testConstantInjection() 123 public void testConstantInjectionWithExplicitBindingsRequired() throws CreationException { in testConstantInjectionWithExplicitBindingsRequired() 174 public void testInvalidInteger() throws CreationException { in testInvalidInteger() 194 public void testInvalidCharacter() throws CreationException { in testInvalidCharacter() 215 public void testInvalidEnum() throws CreationException { in testInvalidEnum() 236 public void testToInstanceIsTreatedLikeConstant() throws CreationException { in testToInstanceIsTreatedLikeConstant() 251 public void testCustomTypeConversion() throws CreationException { in testCustomTypeConversion() 281 public void testInvalidCustomValue() throws CreationException { in testInvalidCustomValue() 286 } catch (CreationException expected) { in testInvalidCustomValue() [all …]
|
D | BinderTest.java | 101 } catch (CreationException e) { in testMissingBindings() 135 } catch (CreationException e) { in testMissingDependency() 156 } catch (CreationException expected) { in testDanglingConstantBinding() 171 } catch (CreationException expected) { in testRecursiveBinding() 188 } catch (CreationException expected) { in testBindingNullConstant() 216 } catch (CreationException ignored) { in testToStringOnBinderApi() 238 } catch (CreationException ignored) { in testNothingIsSerializableInBinderApi() 275 } catch (CreationException expected) { in testArrayTypeCanonicalization() 328 } catch(CreationException expected) { in testSettingBindingTwice() 351 } catch(CreationException expected) { in testSettingAtImplementedByTwice() [all …]
|
D | InjectorTest.java | 56 public void testProviderMethods() throws CreationException { in testProviderMethods() 79 public void testInjection() throws CreationException { in testInjection() 93 private Injector createFooInjector() throws CreationException { in createFooInjector() 104 public void testGetInstance() throws CreationException { 113 throws CreationException { 205 public void testInjectStatics() throws CreationException { 226 } catch(CreationException ce) { 250 public void testPrivateInjection() throws CreationException { 278 public void testProtectedInjection() throws CreationException {
|
D | BoundInstanceInjectionTest.java | 36 public void testInstancesAreInjected() throws CreationException { in testInstancesAreInjected() 57 public void testProvidersAreInjected() throws CreationException { in testProvidersAreInjected() 83 } catch (CreationException expected) { in testMalformedInstance() 98 } catch (CreationException expected) { in testMalformedProvider()
|
D | RequestInjectionTest.java | 67 public void testInjectStatics() throws CreationException { in testInjectStatics() 108 } catch (CreationException expected) { in testValidationErrorOnInjectedMembers() 128 } catch (CreationException expected) { in testInjectionErrorOnInjectedMembers() 145 } catch (CreationException expected) { in testUserExceptionWhileInjectingInstance() 161 } catch (CreationException expected) { in testUserExceptionWhileInjectingStatically()
|
D | BindingAnnotationTest.java | 33 public void testAnnotationWithValueMatchesKeyWithTypeOnly() throws CreationException { in testAnnotationWithValueMatchesKeyWithTypeOnly() 58 } catch (CreationException expected) { in testRequireExactAnnotationsDisablesFallback() 88 } catch (CreationException expected) { in testRequireExactAnnotationsRequireAllOptionals() 107 } catch (CreationException expected) { in testAnnotationWithValueThatDoesntMatch()
|
D | JitBindingsTest.java | 170 } catch(CreationException expected) { in testFailsIfInjectingScopedDirectlyWhenItIsntBound() 217 } catch (CreationException expected) { in testJitInjectionFails() 249 } catch (CreationException expected) { in testJitProviderInjectionFails() 320 } catch(CreationException expected) { in testChildInjectorInheritsOption() 370 } catch(CreationException expected) { in testChildInjectorAddsOption() 418 } catch(CreationException expected) { in testPrivateModulesInheritOptions() 456 } catch(CreationException expected) { in testPrivateModuleAddsOption() 532 } catch (CreationException expected) { in testJitLinkedBindingInParentFails() 553 } catch (CreationException expected) { in testJitProviderBindingInParentFails() 574 } catch (CreationException expected) { in testJitImplementedByBindingInParentFails() [all …]
|
D | ReflectionTest.java | 35 public void testNormalBinding() throws CreationException { in testNormalBinding() 51 public void testConstantBinding() throws CreationException { in testConstantBinding() 65 public void testLinkedBinding() throws CreationException { in testLinkedBinding()
|
D | SerializationTest.java | 45 private CreationException createCreationException() { in createCreationException() 53 } catch (CreationException e) { in createCreationException()
|
D | BoundProviderTest.java | 26 public void testFooProvider() throws CreationException { in testFooProvider() 43 public void testSingletonFooProvider() throws CreationException { in testSingletonFooProvider()
|
D | PrivateModuleTest.java | 107 } catch (CreationException expected) { in testMisplacedExposedAnnotation() 122 } catch (CreationException expected) { in testMisplacedExposeStatement() 196 } catch (CreationException expected) { in testCannotBindAKeyExportedByASibling() 219 } catch (CreationException expected) { in testExposeButNoBind() 245 } catch (CreationException expected) { in testMessagesFromPrivateModulesAreNicelyIntegrated() 463 } catch(CreationException expected) { in testParentBindsSomethingInPrivate()
|
/external/guice/extensions/throwingproviders/test/com/google/inject/throwingproviders/ |
D | ThrowingProviderTest.java | 28 import com.google.inject.CreationException; 326 } catch (CreationException expected) { in testBindingToNonInterfaceType_Bind() 346 } catch (CreationException expected) { in testBindingToNonInterfaceType_Provides() 361 } catch (CreationException expected) { in testBindingToSubSubInterface_Bind() 381 } catch (CreationException expected) { in testBindingToSubSubInterface_Provides() 398 } catch (CreationException expected) { in testBindingToInterfaceWithExtraMethod_Bind() 419 } catch (CreationException expected) { in testBindingToInterfaceWithExtraMethod_Provides() 629 } catch(CreationException ce) { in testProviderMethodWithWrongException() 676 } catch(CreationException ce) { in testProviderMethodWithSuperclassFails() 723 } catch(CreationException ce) { in testProviderMethodWithManyExceptions() [all …]
|
D | CheckedProviderTest.java | 30 import com.google.inject.CreationException; 442 } catch (CreationException expected) { in testBindingToNonInterfaceType_Bind() 463 } catch (CreationException expected) { in testBindingToNonInterfaceType_Provides() 479 } catch (CreationException expected) { in testBindingToSubSubInterface_Bind() 500 } catch (CreationException expected) { in testBindingToSubSubInterface_Provides() 518 } catch (CreationException expected) { in testBindingToInterfaceWithExtraMethod_Bind() 540 } catch (CreationException expected) { in testBindingToInterfaceWithExtraMethod_Provides() 924 } catch(CreationException ce) { in testProviderMethodWithWrongException() 946 } catch (CreationException ce) { in testCxtorWithWrongException() 1040 } catch(CreationException ce) { in testProviderMethodWithSuperclassExceptionFails() [all …]
|
/external/guice/extensions/testlib/test/com/google/inject/testing/fieldbinder/ |
D | BoundFieldModuleTest.java | 24 import com.google.inject.CreationException; 161 } catch (CreationException e) { in testBindingIncorrectTypeProviderFails() 297 } catch (CreationException e) { in testIncompatibleBindingType() 317 } catch (CreationException e) { in testFailureOnMultipleBindingAnnotations() 362 } catch (CreationException e) { in testBindingNullField() 379 } catch (CreationException e) { in testBindingNullProvider() 443 } catch (CreationException e) { in testBindParameterizedTypeFails() 485 } catch (CreationException e) { in testRawProviderCannotBeBound() 533 } catch (CreationException e) { in testMultipleErrorsAreAggregated() 561 } catch (CreationException e) { in testBoundFieldsCannotBeInjected() [all …]
|
/external/guice/core/test/com/google/inject/internal/util/ |
D | LineNumbersTest.java | 23 import com.google.inject.CreationException; 47 } catch (CreationException expected) { in testLineNumbers() 76 } catch (CreationException expected) { in testCanHandleLineNumbersForGuiceGeneratedClasses() 126 } catch (CreationException expected) { in testUnavailableByteCodeShowsUnknownSource()
|
/external/guice/core/test/com/google/inject/spi/ |
D | ProviderMethodsTest.java | 30 import com.google.inject.CreationException; 211 } catch (CreationException expected) { 390 } catch (CreationException expected) { 512 } catch (CreationException expected) { 635 } catch (CreationException e) { 652 } catch (CreationException e) { 669 } catch (CreationException e) { 685 } catch (CreationException e) { 703 } catch (CreationException e) { 720 } catch (CreationException e) { [all …]
|
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/ |
D | ProvidesIntoTest.java | 27 import com.google.inject.CreationException; 224 } catch (CreationException ce) { in testArrayKeys_unwrapValuesTrue() 280 } catch (CreationException ce) { in testProvidesIntoSetWithMapKey() 300 } catch (CreationException ce) { in testProvidesIntoOptionalWithMapKey() 315 } catch (CreationException ce) { in testProvidesIntoMapWithoutMapKey() 342 } catch (CreationException ce) { in testMoreThanOneMapKeyAnnotation() 367 } catch (CreationException ce) { in testMapKeyMissingValueMethod()
|
/external/guice/extensions/spring/test/com/google/inject/spring/ |
D | SpringIntegrationTest.java | 22 import com.google.inject.CreationException; 39 public void testBindFromSpring() throws CreationException { in testBindFromSpring() 70 public void testBindAll() throws CreationException { in testBindAll()
|
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/ |
D | FactoryModuleBuilderTest.java | 26 import com.google.inject.CreationException; 65 } catch (CreationException ce) { in testImplicitForwardingAssistedBindingFailsWithInterface() 85 } catch (CreationException ce) { in testImplicitForwardingAssistedBindingFailsWithAbstractClass() 123 } catch (CreationException ce) { in testExplicitForwardingAssistedBindingFailsWithInterface() 146 } catch (CreationException ce) { in testExplicitForwardingAssistedBindingFailsWithAbstractClass() 288 } catch (CreationException ce) { in testSimilarBindingsWithConflictingImplementations() 335 } catch(CreationException ce ) { in testGenericErrorMessageMakesSense() 495 } catch(CreationException ce) { in testFactoryPublicAndReturnTypeNotPublic() 518 } catch (CreationException ce) { in testSingletonScopeOnAssistedClassIsIgnored()
|
D | ManyConstructorsTest.java | 21 import com.google.inject.CreationException; 120 } catch (CreationException expected) { in testTooManyMatchingConstructors() 136 } catch (CreationException expected) { in testNoMatchingConstructorsBecauseTooManyParams() 152 } catch (CreationException expected) { in testNoMatchingConstrucotsBecauseTooLittleParams()
|
/external/guice/core/test/com/google/inject/example/ |
D | JndiProviderClient.java | 22 import com.google.inject.CreationException; 32 public static void main(String[] args) throws CreationException { in main()
|
D | ClientServiceWithGuiceDefaults.java | 19 import com.google.inject.CreationException; 81 public static void main(String[] args) throws CreationException { in main()
|
D | ClientServiceWithGuice.java | 22 import com.google.inject.CreationException; 85 public static void main(String[] args) throws CreationException { in main()
|
/external/guice/core/src/com/google/inject/ |
D | CreationException.java | 33 public class CreationException extends RuntimeException { class 38 public CreationException(Collection<Message> messages) { in CreationException() method in CreationException
|