Home
last modified time | relevance | path

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

/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/
DFactoryProviderTest.java713 final TypeLiteral<InsuranceFactory<Camaro>> camaroInsuranceFactoryType = in testAssistedFactoryForParameterizedType() local
723 bind(camaroInsuranceFactoryType).toProvider(FactoryProvider.newFactory( in testAssistedFactoryForParameterizedType()
724 camaroInsuranceFactoryType, TypeLiteral.get(CamaroInsurance.class))); in testAssistedFactoryForParameterizedType()
731 injector.getInstance(Key.get(camaroInsuranceFactoryType)); in testAssistedFactoryForParameterizedType()
761 final TypeLiteral<InsuranceFactory<Camaro>> camaroInsuranceFactoryType = in testAssistedFactoryForTypeVariableParameters() local
768 bind(camaroInsuranceFactoryType).toProvider(FactoryProvider.newFactory( in testAssistedFactoryForTypeVariableParameters()
769 camaroInsuranceFactoryType, new TypeLiteral<AutoInsurance<Camaro>>() {})); in testAssistedFactoryForTypeVariableParameters()
774 injector.getInstance(Key.get(camaroInsuranceFactoryType)); in testAssistedFactoryForTypeVariableParameters()
DFactoryProvider2Test.java954 final TypeLiteral<InsuranceFactory<Camaro>> camaroInsuranceFactoryType = in testAssistedFactoryForParameterizedType() local
964 bind(camaroInsuranceFactoryType).toProvider(FactoryProvider.newFactory( in testAssistedFactoryForParameterizedType()
965 camaroInsuranceFactoryType, TypeLiteral.get(CamaroInsurance.class))); in testAssistedFactoryForParameterizedType()
972 injector.getInstance(Key.get(camaroInsuranceFactoryType)); in testAssistedFactoryForParameterizedType()
1002 final TypeLiteral<InsuranceFactory<Camaro>> camaroInsuranceFactoryType = in testAssistedFactoryForTypeVariableParameters() local
1009 bind(camaroInsuranceFactoryType).toProvider(FactoryProvider.newFactory( in testAssistedFactoryForTypeVariableParameters()
1010 camaroInsuranceFactoryType, new TypeLiteral<AutoInsurance<Camaro>>() {})); in testAssistedFactoryForTypeVariableParameters()
1015 injector.getInstance(Key.get(camaroInsuranceFactoryType)); in testAssistedFactoryForTypeVariableParameters()