Home
last modified time | relevance | path

Searched refs:fooFactory (Results 1 – 10 of 10) sorted by relevance

/external/dagger2/javatests/dagger/functional/assisted/
DAssistedFactoryBindsTest.java37 FooFactory fooFactory(); in fooFactory() method
78 FooFactory fooFactory = DaggerAssistedFactoryBindsTest_ParentComponent.create().fooFactory(); in testFooFactory() local
79 assertThat(fooFactory).isInstanceOf(FooFactoryImpl.class); in testFooFactory()
82 Foo foo = fooFactory.create(assistedDep); in testFooFactory()
DAssistedFactoryWithAssistedInjectParamTest.java34 FooFactory fooFactory(); in fooFactory() method
67 FooFactory fooFactory = component.fooFactory(); in testFooFactory() local
71 Foo foo = fooFactory.create(bar); in testFooFactory()
DAssistedFactoryTest.java45 FooFactory fooFactory(); in fooFactory() method
62 private final FooFactory fooFactory; field in AssistedFactoryTest.SomeEntryPoint
71 FooFactory fooFactory, in SomeEntryPoint() argument
77 this.fooFactory = fooFactory; in SomeEntryPoint()
294 .fooFactory() in testFooFactory()
328 assertThat(someEntryPoint.fooFactory).isNotNull(); in testAssistedFactoryFromSomeEntryPoint()
DAssistedFactoryWithArrayTypesTest.java33 FooFactory fooFactory(); in fooFactory() method
57 .fooFactory() in testFooFactory()
/external/dagger2/javatests/dagger/functional/assisted/kotlin/
DKotlinAssistedInjectionTest.java31 FooFactory fooFactory(); in fooFactory() method
38 FooFactory fooFactory = DaggerKotlinAssistedInjectionTest_TestComponent.create().fooFactory(); in testFooFactory() local
40 Foo foo = fooFactory.create(assistedDep); in testFooFactory()
/external/dagger2/javatests/dagger/internal/codegen/
DAssistedFactoryErrorsTest.java201 JavaFileObject fooFactory = in testFactoryMultipleAbstractMethods() local
216 compilerWithOptions(compilerMode.javacopts()).compile(foo, fooFactory, fooFactoryInterface); in testFactoryMultipleAbstractMethods()
239 JavaFileObject fooFactory = in testFactoryMismatchingParameter() local
251 compilerWithOptions(compilerMode.javacopts()).compile(foo, fooFactory); in testFactoryMismatchingParameter()
276 JavaFileObject fooFactory = in testFactoryMismatchingGenericParameter() local
288 compilerWithOptions(compilerMode.javacopts()).compile(foo, fooFactory); in testFactoryMismatchingGenericParameter()
313 JavaFileObject fooFactory = in testFactoryDuplicateGenericParameter() local
325 compilerWithOptions(compilerMode.javacopts()).compile(foo, fooFactory); in testFactoryDuplicateGenericParameter()
769 JavaFileObject fooFactory = in testInaccessibleFoo() local
795 compilerWithOptions(compilerMode.javacopts()).compile(foo, fooFactory, component); in testInaccessibleFoo()
DAssistedFactoryTest.java61 JavaFileObject fooFactory = in testAssistedFactory() local
94 compilerWithOptions(compilerMode.javacopts()).compile(foo, bar, fooFactory, component); in testAssistedFactory()
157 JavaFileObject fooFactory = in testAssistedFactoryCycle() local
190 compilerWithOptions(compilerMode.javacopts()).compile(foo, bar, fooFactory, component); in testAssistedFactoryCycle()
/external/auto/factory/src/it/functional/src/test/java/com/google/auto/factory/
DDependencyInjectionIntegrationTest.java23 FooFactory fooFactory = DaggerFactoryComponent.create().factory(); in daggerInjectedFactory() local
24 Foo one = fooFactory.create("A"); in daggerInjectedFactory()
25 Foo two = fooFactory.create("B"); in daggerInjectedFactory()
79 FooFactory fooFactory = Guice.createInjector(new GuiceModule()).getInstance(FooFactory.class); in guiceInjectedFactory() local
80 Foo one = fooFactory.create("A"); in guiceInjectedFactory()
81 Foo two = fooFactory.create("B"); in guiceInjectedFactory()
/external/dagger2/javatests/artifacts/dagger/simple/src/main/java/dagger/simple/
DAssistedInjects.java30 FooFactory fooFactory(); in fooFactory() method
61 Foo foo = DaggerAssistedInjects_MyComponent.create().fooFactory().create(""); in main()
/external/guice/core/test/com/google/inject/internal/
DProxyFactoryTest.java81 ConstructionProxy<Foo> fooFactory = in testInterceptOneMethod() local
86 Foo foo = fooFactory.newInstance(); in testInterceptOneMethod()