Searched refs:Mustang (Results 1 – 4 of 4) sorted by relevance
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/ |
D | FactoryModuleBuilderTest.java | 96 final Mustang providedMustang = new Mustang(Color.BLUE); in testImplicitForwardingAssistedBindingCreatesNewObjects() 101 @Provides Mustang provide() { return providedMustang; } in testImplicitForwardingAssistedBindingCreatesNewObjects() 103 assertSame(providedMustang, injector.getInstance(Mustang.class)); in testImplicitForwardingAssistedBindingCreatesNewObjects() 105 Mustang created = factory.create(Color.GREEN); in testImplicitForwardingAssistedBindingCreatesNewObjects() 158 final Mustang providedMustang = new Mustang(Color.BLUE); in testExplicitForwardingAssistedBindingCreatesNewObjects() 161 install(new FactoryModuleBuilder().implement(Car.class, Mustang.class).build( in testExplicitForwardingAssistedBindingCreatesNewObjects() 164 @Provides Mustang provide() { return providedMustang; } in testExplicitForwardingAssistedBindingCreatesNewObjects() 166 assertSame(providedMustang, injector.getInstance(Mustang.class)); in testExplicitForwardingAssistedBindingCreatesNewObjects() 168 Mustang created = (Mustang)factory.create(Color.GREEN); in testExplicitForwardingAssistedBindingCreatesNewObjects() 183 .implement(Car.class, Names.named("american"), Mustang.class) in testAnnotatedAndParentBoundReturnValue() [all …]
|
D | FactoryProviderTest.java | 60 .toProvider(FactoryProvider.newFactory(ColoredCarFactory.class, Mustang.class)); in testAssistedFactory() 65 Mustang blueMustang = (Mustang) carFactory.create(Color.BLUE); in testAssistedFactory() 69 Mustang redMustang = (Mustang) carFactory.create(Color.RED); in testAssistedFactory() 80 .toProvider(FactoryProvider.newFactory(ColoredCarFactory.class, Mustang.class)); in testFactoryBindingDependencies() 121 public static class Mustang implements Car { class in FactoryProviderTest 126 public Mustang(double engineSize, @Assisted Color color) { in Mustang() method in FactoryProviderTest.Mustang 546 .toProvider(FactoryProvider.newFactory(ColoredCarFactory.class, Mustang.class)); in testFactoryFailsWithMissingBinding() 561 .toProvider(FactoryProvider.newFactory(ColoredCarFactory.class, Mustang.class)); in testMethodsDeclaredInObject() 578 .toProvider(FactoryProvider.newFactory(AssistedParamsFactory.class, Mustang.class)); in testAssistedInjectConstructorAndAssistedFactoryParameterMustNotMix() 598 final TypeLiteral<GenericColoredCarFactory<Mustang>> mustangTypeLiteral in testGenericAssistedFactory() [all …]
|
D | FactoryProvider2Test.java | 56 FactoryProvider.newFactory(ColoredCarFactory.class, Mustang.class)); in testAssistedFactory() 61 Mustang blueMustang = (Mustang) carFactory.create(Color.BLUE); in testAssistedFactory() 65 Mustang redMustang = (Mustang) carFactory.create(Color.RED); in testAssistedFactory() 100 public static class Mustang implements Car { class in FactoryProvider2Test 105 public Mustang(double engineSize, @Assisted Color color) { in Mustang() method in FactoryProvider2Test.Mustang 485 FactoryProvider.newFactory(ColoredCarFactory.class, Mustang.class)); in testFactoryFailsWithMissingBinding() 501 FactoryProvider.newFactory(ColoredCarFactory.class, Mustang.class)); in testFactoryFailsWithMissingBindingInToolStage() 517 FactoryProvider.newFactory(ColoredCarFactory.class, Mustang.class)); in testMethodsDeclaredInObject() 569 Mustang createMustang(@Assisted("color") Provider<Color> colorProvider); in createMustang() 609 Mustang createMustang(@Assisted("color") javax.inject.Provider<Color> colorProvider); in createMustang() [all …]
|
/external/jarjar/res/com/tonicsystems/jarjar/ |
D | help.txt | 41 Mustang-style wildcards are also supported:
|