Home
last modified time | relevance | path

Searched refs:compilationRule (Results 1 – 15 of 15) sorted by relevance

/external/dagger2/javatests/dagger/internal/codegen/
DMethodSignatureFormatterTest.java46 @Rule public CompilationRule compilationRule = new CompilationRule(); field in MethodSignatureFormatterTest
70 DaggerMethodSignatureFormatterTest_TestComponent.factory().create(compilationRule).inject(this); in setUp()
96 TestComponent create(@BindsInstance CompilationRule compilationRule); in create() argument
103 static DaggerElements elements(CompilationRule compilationRule) { in elements() argument
104 return new DaggerElements(compilationRule.getElements(), compilationRule.getTypes()); in elements()
108 static DaggerTypes types(CompilationRule compilationRule, DaggerElements elements) { in types() argument
109 return new DaggerTypes(compilationRule.getTypes(), elements); in types()
DKeyFactoryTest.java62 @Rule public CompilationRule compilationRule = new CompilationRule(); field in KeyFactoryTest
69 DaggerKeyFactoryTest_TestComponent.factory().create(compilationRule).inject(this); in setUp()
74 compilationRule.getElements().getTypeElement(InjectedClass.class.getCanonicalName()); in forInjectConstructorWithResolvedType()
340 TestComponent create(@BindsInstance CompilationRule compilationRule); in create() argument
347 static DaggerElements elements(CompilationRule compilationRule) { in elements() argument
348 return new DaggerElements(compilationRule.getElements(), compilationRule.getTypes()); in elements()
352 static DaggerTypes types(CompilationRule compilationRule, DaggerElements elements) { in types() argument
353 return new DaggerTypes(compilationRule.getTypes(), elements); in types()
DFrameworkFieldTest.java40 @Rule public CompilationRule compilationRule = new CompilationRule(); field in FrameworkFieldTest
46 ClassName.get(compilationRule.getElements().getTypeElement(X.class.getCanonicalName())); in setUp()
/external/dagger2/javatests/dagger/internal/codegen/javapoet/
DExpressionTest.java36 @Rule public CompilationRule compilationRule = new CompilationRule(); field in ExpressionTest
46 elements = new DaggerElements(compilationRule.getElements(), compilationRule.getTypes()); in setUp()
47 types = new DaggerTypes(compilationRule.getTypes(), elements); in setUp()
DCodeBlocksTest.java42 @Rule public CompilationRule compilationRule = new CompilationRule(); field in CodeBlocksTest
47 this.elements = compilationRule.getElements(); in setUp()
/external/auto/common/src/test/java/com/google/auto/common/
DMoreTypesTest.java59 @Rule public final CompilationRule compilationRule = new CompilationRule(); field in MoreTypesTest
64 Types types = compilationRule.getTypes(); in equivalence()
65 Elements elements = compilationRule.getElements(); in equivalence()
218 Elements elements = compilationRule.getElements(); in testReferencedTypes()
291 compilationRule.getElements().getPackageElement("java.lang").asType(); in asElement_throws()
301 Elements elements = compilationRule.getElements(); in asElement()
305 compilationRule.getElements().getTypeElement("java.util.Set").getTypeParameters()); in asElement()
312 Types types = compilationRule.getTypes(); in testNonObjectSuperclass()
313 Elements elements = compilationRule.getElements(); in testNonObjectSuperclass()
360 Types types = compilationRule.getTypes(); in testAsMemberOf_variableElement()
[all …]
DAnnotationMirrorsTest.java45 @Rule public CompilationRule compilationRule = new CompilationRule(); field in AnnotationMirrorsTest
50 this.elements = compilationRule.getElements(); in setUp()
DMoreTypesIsTypeOfTest.java42 @Rule public CompilationRule compilationRule = new CompilationRule(); field in MoreTypesIsTypeOfTest
47 this.elements = compilationRule.getElements(); in setUp()
/external/auto/value/src/test/java/com/google/auto/value/extension/serializable/serializer/utils/
DCompilationAbstractTest.java42 @Rule public final CompilationRule compilationRule = new CompilationRule(); field in CompilationAbstractTest
53 typeUtils = compilationRule.getTypes(); in setUp()
54 elementUtils = compilationRule.getElements(); in setUp()
/external/javapoet/src/test/java/com/squareup/javapoet/
DClassNameTest.java35 @Rule public CompilationRule compilationRule = new CompilationRule(); field in ClassNameTest
106 Elements elements = compilationRule.getElements(); in classNameFromTypeElement()
120 Elements elements = compilationRule.getElements(); in classNameFromTypeElementDoesntUseGetKind()
/external/auto/value/src/test/java/com/google/auto/value/processor/
DTypeVariablesTest.java40 @ClassRule public static final CompilationRule compilationRule = new CompilationRule(); field in TypeVariablesTest
48 elementUtils = compilationRule.getElements(); in setUpClass()
49 typeUtils = compilationRule.getTypes(); in setUpClass()
DTypeSimplifierTest.java49 @Rule public final CompilationRule compilationRule = new CompilationRule(); field in TypeSimplifierTest
56 typeUtils = compilationRule.getTypes(); in setUp()
57 elementUtils = compilationRule.getElements(); in setUp()
DTypeEncoderTest.java58 @Rule public final CompilationRule compilationRule = new CompilationRule(); field in TypeEncoderTest
65 typeUtils = compilationRule.getTypes(); in setUp()
66 elementUtils = compilationRule.getElements(); in setUp()
/external/google-java-format/core/src/test/java/com/google/googlejavaformat/java/filer/
DFormattingFilerTest.java46 @Rule public CompilationRule compilationRule = new CompilationRule(); field in FormattingFilerTest
/external/auto/factory/src/test/java/com/google/auto/factory/processor/
DAutoFactoryProcessorTest.java45 @Rule public final CompilationRule compilationRule = new CompilationRule(); field in AutoFactoryProcessorTest