Home
last modified time | relevance | path

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

/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/
DFactoryProviderTest.java97 .toProvider(FactoryProvider.newFactory(ColoredCarFactory.class, Camaro.class)); in testAssistedFactoryWithAnnotations()
103 Camaro blueCamaro = (Camaro) carFactory.create(Color.BLUE); in testAssistedFactoryWithAnnotations()
108 Camaro redCamaro = (Camaro) carFactory.create(Color.RED); in testAssistedFactoryWithAnnotations()
132 public static class Camaro implements Car { class in FactoryProviderTest
138 public Camaro( in Camaro() method in FactoryProviderTest.Camaro
600 final TypeLiteral<GenericColoredCarFactory<Camaro>> camaroTypeLiteral in testGenericAssistedFactory()
601 = new TypeLiteral<GenericColoredCarFactory<Camaro>>() {}; in testGenericAssistedFactory()
612 FactoryProvider.newFactory(camaroTypeLiteral, TypeLiteral.get(Camaro.class))); in testGenericAssistedFactory()
618 GenericColoredCarFactory<Camaro> camaroFactory in testGenericAssistedFactory()
625 Camaro redCamaro = camaroFactory.create(Color.RED); in testGenericAssistedFactory()
[all …]
DFactoryProvider2Test.java77 FactoryProvider.newFactory(ColoredCarFactory.class, Camaro.class)); in testAssistedFactoryWithAnnotations()
83 Camaro blueCamaro = (Camaro) carFactory.create(Color.BLUE); in testAssistedFactoryWithAnnotations()
88 Camaro redCamaro = (Camaro) carFactory.create(Color.RED); in testAssistedFactoryWithAnnotations()
113 public static class Camaro implements Car { class in FactoryProvider2Test
119 public Camaro( in Camaro() method in FactoryProvider2Test.Camaro
681 @Inject Camaro camaro;
841 final TypeLiteral<GenericColoredCarFactory<Camaro>> camaroTypeLiteral in testGenericAssistedFactory()
842 = new TypeLiteral<GenericColoredCarFactory<Camaro>>() {}; in testGenericAssistedFactory()
853 … .toProvider(FactoryProvider.newFactory(camaroTypeLiteral, TypeLiteral.get(Camaro.class))); in testGenericAssistedFactory()
859 GenericColoredCarFactory<Camaro> camaroFactory in testGenericAssistedFactory()
[all …]