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.java129 interface SummerCarFactory { interface in FactoryProvider2Test
138 bind(SummerCarFactory.class).toProvider( in testFactoryUsesInjectedConstructor()
139 FactoryProvider.newFactory(SummerCarFactory.class, Corvette.class)); in testFactoryUsesInjectedConstructor()
143 SummerCarFactory carFactory = injector.getInstance(SummerCarFactory.class); in testFactoryUsesInjectedConstructor()
173 bind(SummerCarFactory.class).toProvider( in testConstructorDoesntNeedAllFactoryMethodArguments()
174 FactoryProvider.newFactory(SummerCarFactory.class, Beetle.class)); in testConstructorDoesntNeedAllFactoryMethodArguments()
177 SummerCarFactory factory = injector.getInstance(SummerCarFactory.class); in testConstructorDoesntNeedAllFactoryMethodArguments()
DFactoryProviderTest.java148 interface SummerCarFactory { interface in FactoryProviderTest
158 bind(SummerCarFactory.class).toProvider( in testFactoryWithMultipleMethods()
159 FactoryProvider.newFactory(SummerCarFactory.class, Corvette.class)); in testFactoryWithMultipleMethods()
163 SummerCarFactory carFactory = injector.getInstance(SummerCarFactory.class); in testFactoryWithMultipleMethods()
201 FactoryProvider.newFactory(SummerCarFactory.class, Beetle.class); in testFactoryMethodsMismatch()