Home
last modified time | relevance | path

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

/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/
DFactoryProvider2Test.java140 interface SummerCarFactory { interface in FactoryProvider2Test
151 bind(SummerCarFactory.class) in testFactoryUsesInjectedConstructor()
152 .toProvider(FactoryProvider.newFactory(SummerCarFactory.class, Corvette.class)); in testFactoryUsesInjectedConstructor()
156 SummerCarFactory carFactory = injector.getInstance(SummerCarFactory.class); in testFactoryUsesInjectedConstructor()
188 bind(SummerCarFactory.class) in testConstructorDoesntNeedAllFactoryMethodArguments()
189 .toProvider(FactoryProvider.newFactory(SummerCarFactory.class, Beetle.class)); in testConstructorDoesntNeedAllFactoryMethodArguments()
192 SummerCarFactory factory = injector.getInstance(SummerCarFactory.class); in testConstructorDoesntNeedAllFactoryMethodArguments()
DFactoryProviderTest.java160 interface SummerCarFactory { interface in FactoryProviderTest
173 bind(SummerCarFactory.class) in testFactoryWithMultipleMethods()
174 .toProvider(FactoryProvider.newFactory(SummerCarFactory.class, Corvette.class)); in testFactoryWithMultipleMethods()
178 SummerCarFactory carFactory = injector.getInstance(SummerCarFactory.class); in testFactoryWithMultipleMethods()
216 FactoryProvider.newFactory(SummerCarFactory.class, Beetle.class); in testFactoryMethodsMismatch()