Home
last modified time | relevance | path

Searched refs:moduleFile (Results 1 – 11 of 11) sorted by relevance

/external/dagger2/javatests/dagger/internal/codegen/
DModuleFactoryGeneratorTest.java123 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.TestModule", in modulesWithTypeParamsMustBeAbstract() local
130 Compilation compilation = daggerCompiler().compile(moduleFile); in modulesWithTypeParamsMustBeAbstract()
134 .inFile(moduleFile) in modulesWithTypeParamsMustBeAbstract()
211 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.TestModule", in singleProvidesMethodNoArgs() local
253 assertAbout(javaSource()).that(moduleFile) in singleProvidesMethodNoArgs()
260 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.TestModule", in singleProvidesMethodNoArgs_disableNullable() local
300 assertAbout(javaSource()).that(moduleFile) in singleProvidesMethodNoArgs_disableNullable()
308 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.TestModule", in nullableProvides() local
349 assertAbout(javaSources()).that(ImmutableList.of(moduleFile, NULLABLE)) in nullableProvides()
364 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.TestModule", in multipleProvidesMethods() local
[all …]
DProducerModuleFactoryGeneratorTest.java161 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.TestModule", in multipleProducesMethodsWithSameName() local
179 Compilation compilation = daggerCompiler().compile(moduleFile); in multipleProducesMethodsWithSameName()
181 assertThat(compilation).hadErrorContaining(errorMessage).inFile(moduleFile).onLine(8); in multipleProducesMethodsWithSameName()
182 assertThat(compilation).hadErrorContaining(errorMessage).inFile(moduleFile).onLine(12); in multipleProducesMethodsWithSameName()
200 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.Enclosing", in privateModule() local
209 Compilation compilation = daggerCompiler().compile(moduleFile); in privateModule()
213 .inFile(moduleFile) in privateModule()
219 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.Enclosing", in enclosedInPrivateModule() local
230 Compilation compilation = daggerCompiler().compile(moduleFile); in enclosedInPrivateModule()
234 .inFile(moduleFile) in enclosedInPrivateModule()
[all …]
DSubcomponentValidationTest.java67 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.ModuleWithParameters", in factoryMethod_missingModulesWithParameters() local
88 .compile(componentFile, childComponentFile, moduleFile); in factoryMethod_missingModulesWithParameters()
200 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.TestModule", in factoryMethod_duplicateParameter() local
226 .compile(moduleFile, componentFile, childComponentFile); in factoryMethod_duplicateParameter()
238 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.TestModule", in factoryMethod_superflouousModule() local
264 .compile(moduleFile, componentFile, childComponentFile); in factoryMethod_superflouousModule()
275 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.TestModule", in missingBinding() local
308 .compile(moduleFile, componentFile, childComponentFile); in missingBinding()
353 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.ChildModule", in scopeMismatch() local
367 .compile(componentFile, subcomponentFile, moduleFile); in scopeMismatch()
DScopingValidationTest.java58 JavaFileObject moduleFile = in componentWithoutScopeIncludesScopedBindings_Fail() local
74 Compilation compilation = daggerCompiler().compile(componentFile, typeFile, moduleFile); in componentWithoutScopeIncludesScopedBindings_Fail()
211 JavaFileObject moduleFile = in componentWithScopeIncludesIncompatiblyScopedBindings_Fail() local
230 .compile(componentFile, scopeFile, scopeWithAttribute, typeFile, moduleFile); in componentWithScopeIncludesIncompatiblyScopedBindings_Fail()
247 .compile(componentFile, scopeFile, scopeWithAttribute, typeFile, moduleFile); in componentWithScopeIncludesIncompatiblyScopedBindings_Fail()
257 .inFile(moduleFile) in componentWithScopeIncludesIncompatiblyScopedBindings_Fail()
DSubcomponentCreatorValidationTest.java488 JavaFileObject moduleFile = in testMultipleSettersPerTypeFails() local
540 Compilation compilation = compile(moduleFile, componentFile, childComponentFile); in testMultipleSettersPerTypeFails()
557 JavaFileObject moduleFile = in testMultipleSettersPerTypeIncludingResolvedGenericsFails() local
614 Compilation compilation = compile(moduleFile, componentFile, childComponentFile); in testMultipleSettersPerTypeIncludingResolvedGenericsFails()
750 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.TestModule", in testMissingSettersFail() local
810 compile(moduleFile, module2File, module3File, componentFile, childComponentFile); in testMissingSettersFail()
DComponentCreatorTest.java782 JavaFileObject moduleFile = in testMultipleSettersPerTypeFails() local
823 Compilation compilation = compile(moduleFile, componentFile); in testMultipleSettersPerTypeFails()
840 JavaFileObject moduleFile = in testMultipleSettersPerTypeIncludingResolvedGenericsFails() local
886 Compilation compilation = compile(moduleFile, componentFile); in testMultipleSettersPerTypeIncludingResolvedGenericsFails()
953 JavaFileObject moduleFile = in testMissingSettersFail() local
1020 .compile(moduleFile, module2File, module3File, componentFile, otherComponent); in testMissingSettersFail()
DComponentFactoryTest.java53 JavaFileObject moduleFile = in testUsesParameterNames() local
100 daggerCompiler().withOptions(compilerMode.javacopts()).compile(moduleFile, componentFile); in testUsesParameterNames()
DProductionComponentProcessorTest.java108 JavaFileObject moduleFile = in dependsOnProductionExecutor() local
161 .compile(moduleFile, producerModuleFile, componentFile); in dependsOnProductionExecutor()
DComponentBuilderTest.java53 JavaFileObject moduleFile = in testUsesBuildAndSetterNames() local
111 daggerCompiler().withOptions(compilerMode.javacopts()).compile(moduleFile, componentFile); in testUsesBuildAndSetterNames()
DComponentProcessorTest.java478 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.TestModule", in componentWithModule() local
547 .compile(aFile, bFile, cFile, moduleFile, componentFile); in componentWithModule()
582 JavaFileObject moduleFile = in componentWithAbstractModule() local
629 .compile(aFile, bFile, cFile, moduleFile, componentFile); in componentWithAbstractModule()
1309 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.TestModule", in moduleNameCollision() local
1396 .compile(aFile, otherAFile, moduleFile, otherModuleFile, componentFile); in moduleNameCollision()
DMapBindingComponentProcessorTest.java281 JavaFileObject moduleFile = in mapBindingsWithInaccessibleKeys() local
351 Compilation compilation = daggerCompiler().compile(mapKeys, moduleFile, componentFile); in mapBindingsWithInaccessibleKeys()