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.java182 .implement(Car.class, Names.named("german"), Beetle.class) in testAnnotatedAndParentBoundReturnValue()
189 assertTrue(factory.getGermanCar(Color.BLACK) instanceof Beetle); in testAnnotatedAndParentBoundReturnValue()
213 .implement(Car.class, Names.named("german"), Beetle.class) in testConfigureAnnotatedReturnValue()
220 assertTrue(factory.getGermanCar(Color.GRAY) instanceof Beetle); in testConfigureAnnotatedReturnValue()
309 Beetle beetle = factory.getBeetle(Color.GREEN); in testMultipleReturnTypes()
358 Beetle getBeetle(Color color); in getBeetle()
376 public static class Beetle implements Car { class in FactoryModuleBuilderTest
379 public Beetle(@Assisted Color color) { in Beetle() method in FactoryModuleBuilderTest.Beetle
DFactoryProviderTest.java201 FactoryProvider.newFactory(SummerCarFactory.class, Beetle.class); in testFactoryMethodsMismatch()
208 public static class Beetle implements Car { class in FactoryProviderTest
211 public Beetle(@Assisted Color color) { in Beetle() method in FactoryProviderTest.Beetle
216 public Beetle(@Assisted Color color, @Assisted boolean isConvertable) { in Beetle() method in FactoryProviderTest.Beetle
221 public Beetle(@Assisted Color color, @Assisted boolean isConvertable, float maxMph) { in Beetle() method in FactoryProviderTest.Beetle
DFactoryProvider2Test.java174 FactoryProvider.newFactory(SummerCarFactory.class, Beetle.class)); in testConstructorDoesntNeedAllFactoryMethodArguments()
179 Beetle beetle = (Beetle) factory.create(Color.RED, true); in testConstructorDoesntNeedAllFactoryMethodArguments()
183 public static class Beetle implements Car { class in FactoryProvider2Test
186 public Beetle(@Assisted Color color) { in Beetle() method in FactoryProvider2Test.Beetle