Home
last modified time | relevance | path

Searched refs:Beetle (Results 1 – 3 of 3) sorted by relevance

/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/
DFactoryModuleBuilderTest.java216 .implement(Car.class, Names.named("german"), Beetle.class) in testAnnotatedAndParentBoundReturnValue()
223 assertTrue(factory.getGermanCar(Color.BLACK) instanceof Beetle); in testAnnotatedAndParentBoundReturnValue()
255 .implement(Car.class, Names.named("german"), Beetle.class) in testConfigureAnnotatedReturnValue()
262 assertTrue(factory.getGermanCar(Color.GRAY) instanceof Beetle); in testConfigureAnnotatedReturnValue()
367 Beetle beetle = factory.getBeetle(Color.GREEN); in testMultipleReturnTypes()
422 Beetle getBeetle(Color color); in getBeetle()
444 public static class Beetle implements Car { class in FactoryModuleBuilderTest
448 public Beetle(@Assisted Color color) { in Beetle() method in FactoryModuleBuilderTest.Beetle
DFactoryProviderTest.java216 FactoryProvider.newFactory(SummerCarFactory.class, Beetle.class); in testFactoryMethodsMismatch()
223 public static class Beetle implements Car { class in FactoryProviderTest
226 public Beetle(@Assisted Color color) { in Beetle() method in FactoryProviderTest.Beetle
232 public Beetle(@Assisted Color color, @Assisted boolean isConvertable) { in Beetle() method in FactoryProviderTest.Beetle
238 public Beetle(@Assisted Color color, @Assisted boolean isConvertable, float maxMph) { in Beetle() method in FactoryProviderTest.Beetle
DFactoryProvider2Test.java189 .toProvider(FactoryProvider.newFactory(SummerCarFactory.class, Beetle.class)); in testConstructorDoesntNeedAllFactoryMethodArguments()
194 Beetle beetle = (Beetle) factory.create(Color.RED, true); in testConstructorDoesntNeedAllFactoryMethodArguments()
198 public static class Beetle implements Car { class in FactoryProvider2Test
202 public Beetle(@Assisted Color color) { in Beetle() method in FactoryProvider2Test.Beetle