/external/dagger2/compiler/src/test/java/dagger/internal/codegen/ |
D | ProducerModuleFactoryGeneratorTest.java | 52 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.TestModule", in producesMethodNotInModule() local 62 assertAbout(javaSource()).that(moduleFile) in producesMethodNotInModule() 69 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.TestModule", in producesMethodAbstract() local 79 assertAbout(javaSource()).that(moduleFile) in producesMethodAbstract() 86 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.TestModule", in producesMethodPrivate() local 98 assertAbout(javaSource()).that(moduleFile) in producesMethodPrivate() 105 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.TestModule", in producesMethodReturnVoid() local 115 assertAbout(javaSource()).that(moduleFile) in producesMethodReturnVoid() 122 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.TestModule", in producesMethodReturnRawFuture() local 133 assertAbout(javaSource()).that(moduleFile) in producesMethodReturnRawFuture() [all …]
|
D | ModuleFactoryGeneratorTest.java | 63 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.TestModule", in providesMethodNotInModule() local 73 assertAbout(javaSource()).that(moduleFile) in providesMethodNotInModule() 80 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.TestModule", in providesMethodAbstract() local 90 assertAbout(javaSource()).that(moduleFile) in providesMethodAbstract() 97 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.TestModule", in providesMethodPrivate() local 109 assertAbout(javaSource()).that(moduleFile) in providesMethodPrivate() 116 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.TestModule", in providesMethodReturnVoid() local 126 assertAbout(javaSource()).that(moduleFile) in providesMethodReturnVoid() 133 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.TestModule", in providesMethodWithTypeParameter() local 145 assertAbout(javaSource()).that(moduleFile) in providesMethodWithTypeParameter() [all …]
|
D | SubcomponentValidationTest.java | 49 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.ModuleWithParameters", in factoryMethod_missingModulesWithParameters() local 67 assertAbout(javaSources()).that(ImmutableList.of(componentFile, childComponentFile, moduleFile)) in factoryMethod_missingModulesWithParameters() 103 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.TestModule", in factoryMethod_duplicateParameter() local 126 assertAbout(javaSources()).that(ImmutableList.of(moduleFile, componentFile, childComponentFile)) in factoryMethod_duplicateParameter() 136 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.TestModule", in factoryMethod_superflouousModule() local 159 assertAbout(javaSources()).that(ImmutableList.of(moduleFile, componentFile, childComponentFile)) in factoryMethod_superflouousModule() 169 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.TestModule", in missingBinding() local 199 assertAbout(javaSources()).that(ImmutableList.of(moduleFile, componentFile, childComponentFile)) in missingBinding() 242 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.ChildModule", in scopeMismatch() local 253 assertAbout(javaSources()).that(ImmutableList.of(componentFile, subcomponentFile, moduleFile)) in scopeMismatch()
|
D | GraphValidationScopingTest.java | 51 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.ScopedModule", in componentWithoutScopeIncludesScopedBindings_Fail() local 67 assert_().about(javaSources()).that(asList(componentFile, typeFile, moduleFile)) in componentWithoutScopeIncludesScopedBindings_Fail() 101 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.ScopedModule", in componentWithScopeIncludesIncompatiblyScopedBindings_Fail() local 118 assert_().about(javaSources()).that(asList(componentFile, scopeFile, typeFile, moduleFile)) in componentWithScopeIncludesIncompatiblyScopedBindings_Fail()
|
D | ComponentBuilderTest.java | 108 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.TestModule", in testUsesBuildAndSetterNames() local 191 .that(ImmutableList.of(moduleFile, componentFile)) in testUsesBuildAndSetterNames() 875 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.TestModule", in testMissingSettersFail() local 931 .that(ImmutableList.of(moduleFile, module2File, module3File, componentFile, otherComponent)) in testMissingSettersFail()
|
D | ComponentProcessorTest.java | 106 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.TestModule", in checkCannotReferToModuleOfType() local 120 assertAbout(javaSources()).that(ImmutableList.of(moduleFile, componentFile)) in checkCannotReferToModuleOfType() 458 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.TestModule", in componentWithModule() local 540 .that(ImmutableList.of(aFile, bFile, cFile, moduleFile, componentFile)) in componentWithModule() 1535 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.TestModule", in moduleNameCollision() local 1647 .that(ImmutableList.of(aFile, otherAFile, moduleFile, otherModuleFile, componentFile)) in moduleNameCollision()
|
D | SubcomponentBuilderValidationTest.java | 670 JavaFileObject moduleFile = JavaFileObjects.forSourceLines("test.TestModule", in testMissingSettersFail() local 729 .that(ImmutableList.of(moduleFile, in testMissingSettersFail()
|