Home
last modified time | relevance | path

Searched refs:compilation (Results 1 – 25 of 2153) sorted by relevance

12345678910>>...87

/external/dagger2/javatests/dagger/internal/codegen/
DMapMultibindingValidationTest.java58 Compilation compilation = in duplicateMapKeys_UnwrappedMapKey() local
66 assertThat(compilation).failed(); in duplicateMapKeys_UnwrappedMapKey()
67 assertThat(compilation) in duplicateMapKeys_UnwrappedMapKey()
71 assertThat(compilation).hadErrorContaining("provideObjectForAKey()"); in duplicateMapKeys_UnwrappedMapKey()
72 assertThat(compilation).hadErrorContaining("provideObjectForAKeyAgain()"); in duplicateMapKeys_UnwrappedMapKey()
73 assertThat(compilation).hadErrorCount(1); in duplicateMapKeys_UnwrappedMapKey()
75 compilation = in duplicateMapKeys_UnwrappedMapKey()
78 assertThat(compilation).failed(); in duplicateMapKeys_UnwrappedMapKey()
79 assertThat(compilation) in duplicateMapKeys_UnwrappedMapKey()
85 assertThat(compilation).hadErrorContaining("provideObjectForAKey()"); in duplicateMapKeys_UnwrappedMapKey()
[all …]
DFullBindingGraphValidationTest.java84 Compilation compilation = daggerCompiler().compile(MODULE_WITH_ERRORS); in moduleWithErrors_validationTypeNone() local
85 assertThat(compilation).succeededWithoutWarnings(); in moduleWithErrors_validationTypeNone()
90 Compilation compilation = in moduleWithErrors_validationTypeError() local
94 assertThat(compilation).failed(); in moduleWithErrors_validationTypeError()
96 assertThat(compilation) in moduleWithErrors_validationTypeError()
101 assertThat(compilation).hadErrorCount(1); in moduleWithErrors_validationTypeError()
106 Compilation compilation = in moduleWithErrors_validationTypeWarning() local
110 assertThat(compilation).succeeded(); in moduleWithErrors_validationTypeWarning()
112 assertThat(compilation) in moduleWithErrors_validationTypeWarning()
117 assertThat(compilation).hadWarningCount(1); in moduleWithErrors_validationTypeWarning()
[all …]
DAssistedFactoryErrorsTest.java54 Compilation compilation = compilerWithOptions(compilerMode.javacopts()).compile(factory); in testFactoryNotAbstract() local
55 assertThat(compilation).failed(); in testFactoryNotAbstract()
56 assertThat(compilation).hadErrorCount(1); in testFactoryNotAbstract()
57 assertThat(compilation) in testFactoryNotAbstract()
82 Compilation compilation = compilerWithOptions(compilerMode.javacopts()).compile(foo); in testNestedFactoryNotStatic() local
83 assertThat(compilation).failed(); in testNestedFactoryNotStatic()
84 assertThat(compilation).hadErrorCount(1); in testNestedFactoryNotStatic()
85 assertThat(compilation) in testNestedFactoryNotStatic()
99 Compilation compilation = compilerWithOptions(compilerMode.javacopts()).compile(factory); in testFactoryMissingAbstractMethod() local
100 assertThat(compilation).failed(); in testFactoryMissingAbstractMethod()
[all …]
DMissingBindingValidationTest.java57 Compilation compilation = daggerCompiler().compile(component, injectable, nonInjectable); in dependOnInterface() local
58 assertThat(compilation).failed(); in dependOnInterface()
59 assertThat(compilation).hadErrorCount(1); in dependOnInterface()
60 assertThat(compilation) in dependOnInterface()
83 Compilation compilation = daggerCompiler().compile(component); in entryPointDependsOnInterface() local
84 assertThat(compilation).failed(); in entryPointDependsOnInterface()
85 assertThat(compilation).hadErrorCount(1); in entryPointDependsOnInterface()
86 assertThat(compilation) in entryPointDependsOnInterface()
113 Compilation compilation = daggerCompiler().compile(component); in entryPointDependsOnQualifiedInterface() local
114 assertThat(compilation).failed(); in entryPointDependsOnQualifiedInterface()
[all …]
DMembersInjectionValidationTest.java50 Compilation compilation = daggerCompiler().compile(injectsUnboundedType); in membersInjectDependsOnUnboundedType() local
51 assertThat(compilation).failed(); in membersInjectDependsOnUnboundedType()
52 assertThat(compilation) in membersInjectDependsOnUnboundedType()
73 Compilation compilation = daggerCompiler().compile(component); in membersInjectPrimitive() local
74 assertThat(compilation).failed(); in membersInjectPrimitive()
75 assertThat(compilation) in membersInjectPrimitive()
94 Compilation compilation = daggerCompiler().compile(component); in membersInjectArray() local
95 assertThat(compilation).failed(); in membersInjectArray()
96 assertThat(compilation) in membersInjectArray()
116 Compilation compilation = daggerCompiler().compile(component); in membersInjectorOfArray() local
[all …]
DComponentValidationTest.java42 Compilation compilation = daggerCompiler().compile(componentFile); in componentOnConcreteClass() local
43 assertThat(compilation).failed(); in componentOnConcreteClass()
44 assertThat(compilation).hadErrorContaining("interface"); in componentOnConcreteClass()
57 Compilation compilation = daggerCompiler().compile(componentFile); in componentOnEnum() local
58 assertThat(compilation).failed(); in componentOnEnum()
59 assertThat(compilation).hadErrorContaining("interface"); in componentOnEnum()
70 Compilation compilation = daggerCompiler().compile(componentFile); in componentOnAnnotation() local
71 assertThat(compilation).failed(); in componentOnAnnotation()
72 assertThat(compilation).hadErrorContaining("interface"); in componentOnAnnotation()
83 Compilation compilation = daggerCompiler().compile(componentFile); in nonModuleModule() local
[all …]
DInjectConstructorFactoryGeneratorTest.java77 Compilation compilation = daggerCompiler().compile(file); in injectOnPrivateConstructor() local
78 assertThat(compilation).failed(); in injectOnPrivateConstructor()
79 assertThat(compilation) in injectOnPrivateConstructor()
96 Compilation compilation = daggerCompiler().compile(file); in injectConstructorOnInnerClass() local
97 assertThat(compilation).failed(); in injectConstructorOnInnerClass()
98 assertThat(compilation) in injectConstructorOnInnerClass()
115 Compilation compilation = daggerCompiler().compile(file); in injectConstructorOnAbstractClass() local
116 assertThat(compilation).failed(); in injectConstructorOnAbstractClass()
117 assertThat(compilation) in injectConstructorOnAbstractClass()
551 Compilation compilation = daggerCompiler().compile(file); in multipleInjectConstructors() local
[all …]
DSubcomponentCreatorValidationTest.java78 Compilation compilation = compile(componentFile, childComponentFile); in testRefSubcomponentAndSubCreatorFails() local
79 assertThat(compilation).failed(); in testRefSubcomponentAndSubCreatorFails()
80 assertThat(compilation) in testRefSubcomponentAndSubCreatorFails()
114 Compilation compilation = compile(componentFile, childComponentFile); in testRefSubCreatorTwiceFails() local
115 assertThat(compilation).failed(); in testRefSubCreatorTwiceFails()
116 assertThat(compilation) in testRefSubCreatorTwiceFails()
153 Compilation compilation = compile(componentFile, childComponentFile); in testMoreThanOneCreatorFails() local
154 assertThat(compilation).failed(); in testMoreThanOneCreatorFails()
155 assertThat(compilation) in testMoreThanOneCreatorFails()
192 Compilation compilation = compile(componentFile, childComponentFile); in testMoreThanOneCreatorFails_differentTypes() local
[all …]
DComponentCreatorTest.java118 Compilation compilation = compile(injectableTypeFile, componentFile); in testEmptyCreator() local
119 assertThat(compilation).succeeded(); in testEmptyCreator()
120 assertThat(compilation) in testEmptyCreator()
192 Compilation compilation = compile(module, componentFile); in testCanInstantiateModulesUserCannotSet() local
193 assertThat(compilation).succeeded(); in testCanInstantiateModulesUserCannotSet()
194 assertThat(compilation) in testCanInstantiateModulesUserCannotSet()
221 Compilation compilation = compile(componentFile); in testMoreThanOneCreatorOfSameTypeFails() local
222 assertThat(compilation).failed(); in testMoreThanOneCreatorOfSameTypeFails()
223 assertThat(compilation) in testMoreThanOneCreatorOfSameTypeFails()
253 Compilation compilation = compile(componentFile); in testBothBuilderAndFactoryFails() local
[all …]
DDuplicateBindingsValidationTest.java85 Compilation compilation = in duplicateExplicitBindings_ProvidesAndComponentProvision() local
89 assertThat(compilation).failed(); in duplicateExplicitBindings_ProvidesAndComponentProvision()
90 assertThat(compilation) in duplicateExplicitBindings_ProvidesAndComponentProvision()
139 Compilation compilation = in duplicateExplicitBindings_TwoProvidesMethods() local
143 assertThat(compilation).failed(); in duplicateExplicitBindings_TwoProvidesMethods()
144 assertThat(compilation) in duplicateExplicitBindings_TwoProvidesMethods()
154 assertThat(compilation) in duplicateExplicitBindings_TwoProvidesMethods()
165 assertThat(compilation).hadErrorCount(fullBindingGraphValidation ? 2 : 1); in duplicateExplicitBindings_TwoProvidesMethods()
207 Compilation compilation = in duplicateExplicitBindings_ProvidesVsBinds() local
211 assertThat(compilation).failed(); in duplicateExplicitBindings_ProvidesVsBinds()
[all …]
DProductionGraphValidationTest.java77 Compilation compilation = daggerCompiler().compile(EXECUTOR_MODULE, module, component); in componentWithUnprovidedInput() local
78 assertThat(compilation).failed(); in componentWithUnprovidedInput()
79 assertThat(compilation) in componentWithUnprovidedInput()
103 Compilation compilation = daggerCompiler().compile(EXECUTOR_MODULE, component); in componentProductionWithNoDependencyChain() local
104 assertThat(compilation).failed(); in componentProductionWithNoDependencyChain()
105 assertThat(compilation) in componentProductionWithNoDependencyChain()
149 Compilation compilation = daggerCompiler().compile(EXECUTOR_MODULE, component); in provisionDependsOnProduction() local
150 assertThat(compilation).failed(); in provisionDependsOnProduction()
151 assertThat(compilation) in provisionDependsOnProduction()
156 compilation = in provisionDependsOnProduction()
[all …]
DDependencyCycleValidationTest.java72 Compilation compilation = daggerCompiler().compile(SIMPLE_CYCLIC_DEPENDENCY); in cyclicDependency() local
73 assertThat(compilation).failed(); in cyclicDependency()
75 assertThat(compilation) in cyclicDependency()
90 assertThat(compilation).hadErrorCount(1); in cyclicDependency()
116 Compilation compilation = in cyclicDependencyWithModuleBindingValidation() local
119 assertThat(compilation).failed(); in cyclicDependencyWithModuleBindingValidation()
121 assertThat(compilation) in cyclicDependencyWithModuleBindingValidation()
126 assertThat(compilation) in cyclicDependencyWithModuleBindingValidation()
131 assertThat(compilation).hadErrorCount(2); in cyclicDependencyWithModuleBindingValidation()
168 Compilation compilation = daggerCompiler().compile(component); in cyclicDependencyNotIncludingEntryPoint() local
[all …]
DComponentProcessorTest.java108 Compilation compilation = in doubleBindingFromResolvedModules() local
111 assertThat(compilation).failed(); in doubleBindingFromResolvedModules()
112 assertThat(compilation) in doubleBindingFromResolvedModules()
114 assertThat(compilation) in doubleBindingFromResolvedModules()
116 assertThat(compilation) in doubleBindingFromResolvedModules()
142 Compilation compilation = in privateNestedClassWithWarningThatIsAnErrorInComponent() local
146 assertThat(compilation).failed(); in privateNestedClassWithWarningThatIsAnErrorInComponent()
147 assertThat(compilation) in privateNestedClassWithWarningThatIsAnErrorInComponent()
260 Compilation compilation = in simpleComponent() local
263 assertThat(compilation).succeeded(); in simpleComponent()
[all …]
DSubcomponentValidationTest.java86 Compilation compilation = in factoryMethod_missingModulesWithParameters() local
89 assertThat(compilation).failed(); in factoryMethod_missingModulesWithParameters()
90 assertThat(compilation) in factoryMethod_missingModulesWithParameters()
154 Compilation compilation = in factoryMethod_grandchild() local
157 assertThat(compilation).failed(); in factoryMethod_grandchild()
158 assertThat(compilation) in factoryMethod_grandchild()
185 Compilation compilation = in factoryMethod_nonModuleParameter() local
188 assertThat(compilation).failed(); in factoryMethod_nonModuleParameter()
189 assertThat(compilation) in factoryMethod_nonModuleParameter()
221 Compilation compilation = in factoryMethod_duplicateParameter() local
[all …]
DAssistedInjectErrorsTest.java59 Compilation compilation = compilerWithOptions(compilerMode.javacopts()).compile(foo); in testAssistedInjectWithDuplicateTypesFails() local
60 assertThat(compilation).failed(); in testAssistedInjectWithDuplicateTypesFails()
61 assertThat(compilation).hadErrorCount(1); in testAssistedInjectWithDuplicateTypesFails()
62 assertThat(compilation) in testAssistedInjectWithDuplicateTypesFails()
84 Compilation compilation = compilerWithOptions(compilerMode.javacopts()).compile(foo); in testAssistedInjectWithDuplicateTypesEmptyQualifierFails() local
85 assertThat(compilation).failed(); in testAssistedInjectWithDuplicateTypesEmptyQualifierFails()
86 assertThat(compilation).hadErrorCount(1); in testAssistedInjectWithDuplicateTypesEmptyQualifierFails()
87 assertThat(compilation) in testAssistedInjectWithDuplicateTypesEmptyQualifierFails()
109 Compilation compilation = compilerWithOptions(compilerMode.javacopts()).compile(foo); in testAssistedInjectWithDuplicateQualifiedTypesFails() local
110 assertThat(compilation).failed(); in testAssistedInjectWithDuplicateQualifiedTypesFails()
[all …]
/external/OpenCL-CTS/test_conformance/
Dopencl_conformance_tests_full_binary.csv13 Basic,basic/test_basic --compilation-mode binary --compilation-cache-path .
14 API,api/test_api --compilation-mode binary --compilation-cache-path .
15 Compiler,compiler/test_compiler --compilation-mode binary --compilation-cache-path .
20 Common Functions,commonfns/test_commonfns --compilation-mode binary --compilation-cache-path .
21 Geometric Functions,geometrics/test_geometrics --compilation-mode binary --compilation-cache-path .
22 Relationals,relationals/test_relationals --compilation-mode binary --compilation-cache-path .
27 …mensions,thread_dimensions/test_thread_dimensions full* --compilation-mode binary --compilation-ca…
28 …e Device/Context,multiple_device_context/test_multiples --compilation-mode binary --compilation-ca…
29 Atomics,atomics/test_atomics --compilation-mode binary --compilation-cache-path .
30 Profiling,profiling/test_profiling --compilation-mode binary --compilation-cache-path .
[all …]
Dopencl_conformance_tests_full_spirv.csv13 Basic,basic/test_basic --compilation-mode spir-v --compilation-cache-path .
14 API,api/test_api --compilation-mode spir-v --compilation-cache-path .
15 Compiler,compiler/test_compiler --compilation-mode spir-v --compilation-cache-path .
20 Common Functions,commonfns/test_commonfns --compilation-mode spir-v --compilation-cache-path .
21 Geometric Functions,geometrics/test_geometrics --compilation-mode spir-v --compilation-cache-path .
22 Relationals,relationals/test_relationals --compilation-mode spir-v --compilation-cache-path .
27 …mensions,thread_dimensions/test_thread_dimensions full* --compilation-mode spir-v --compilation-ca…
28 …e Device/Context,multiple_device_context/test_multiples --compilation-mode spir-v --compilation-ca…
29 Atomics,atomics/test_atomics --compilation-mode spir-v --compilation-cache-path .
30 Profiling,profiling/test_profiling --compilation-mode spir-v --compilation-cache-path .
[all …]
/external/dagger2/javatests/dagger/hilt/processor/internal/definecomponent/
DDefineComponentProcessorTest.java89 Compilation compilation = compiler().compile(component, builder); in testDefineComponentOutput() local
90 assertThat(compilation).succeeded(); in testDefineComponentOutput()
91 assertThat(compilation) in testDefineComponentOutput()
94 assertThat(compilation) in testDefineComponentOutput()
116 Compilation compilation = compiler().compile(component); in testDefineComponentClass_fails() local
117 assertThat(compilation).failed(); in testDefineComponentClass_fails()
118 assertThat(compilation).hadErrorCount(1); in testDefineComponentClass_fails()
119 assertThat(compilation) in testDefineComponentClass_fails()
137 Compilation compilation = compiler().compile(component); in testDefineComponentWithTypeParameters_fails() local
138 assertThat(compilation).failed(); in testDefineComponentWithTypeParameters_fails()
[all …]
/external/dagger2/javatests/dagger/android/processor/
DAndroidMapKeyValidatorTest.java84 Compilation compilation = compile(module, FOO_ACTIVITY); in rawFactoryType() local
85 assertThat(compilation).failed(); in rawFactoryType()
86 assertThat(compilation) in rawFactoryType()
100 Compilation compilation = compile(module, FOO_ACTIVITY); in rawBuilderType() local
101 assertThat(compilation).failed(); in rawBuilderType()
102 assertThat(compilation) in rawBuilderType()
117 Compilation compilation = compile(module, FOO_ACTIVITY); in bindsToBuilderNotFactory() local
118 assertThat(compilation).failed(); in bindsToBuilderNotFactory()
119 assertThat(compilation) in bindsToBuilderNotFactory()
135 Compilation compilation = compile(module, FOO_ACTIVITY); in providesToBuilderNotFactory() local
[all …]
/external/dagger2/javatests/dagger/hilt/android/processor/internal/aggregateddeps/
DTestInstallInTest.java45 Compilation compilation = compiler().compile(testInstallInModule); in testMissingValues() local
46 assertThat(compilation).failed(); in testMissingValues()
47 assertThat(compilation).hadErrorCount(1); in testMissingValues()
48 assertThat(compilation) in testMissingValues()
81 Compilation compilation = compiler().compile(installInModule, testInstallInModule); in testEmptyComponentValues() local
82 assertThat(compilation).failed(); in testEmptyComponentValues()
83 assertThat(compilation).hadErrorCount(1); in testEmptyComponentValues()
85 assertThat(compilation) in testEmptyComponentValues()
106 Compilation compilation = compiler().compile(testInstallInModule); in testEmptyReplacesValues() local
107 assertThat(compilation).failed(); in testEmptyReplacesValues()
[all …]
/external/auto/value/src/test/java/com/google/auto/value/processor/
DAutoValueCompilationTest.java120 Compilation compilation = in simpleSuccess() local
122 assertThat(compilation) in simpleSuccess()
218 Compilation compilation = in importTwoWays() local
220 assertThat(compilation) in importTwoWays()
240 Compilation compilation = in testNoWarningsFromGenerics() local
245 assertThat(compilation).succeededWithoutWarnings(); in testNoWarningsFromGenerics()
348 Compilation compilation = in testNestedParameterizedTypesWithTypeAnnotations() local
353 assertThat(compilation).succeededWithoutWarnings(); in testNestedParameterizedTypesWithTypeAnnotations()
354 assertThat(compilation) in testNestedParameterizedTypesWithTypeAnnotations()
411 Compilation compilation = in testTypeParametersWithAnnotationsOnBounds() local
[all …]
/external/dagger2/javatests/dagger/hilt/processor/internal/aggregateddeps/
DAggregatedDepsProcessorErrorsTest.java71 Compilation compilation = in reportMultipleAnnotationTypeKindErrors() local
74 assertThat(compilation).failed(); in reportMultipleAnnotationTypeKindErrors()
75 assertThat(compilation) in reportMultipleAnnotationTypeKindErrors()
79 assertThat(compilation) in reportMultipleAnnotationTypeKindErrors()
83 assertThat(compilation) in reportMultipleAnnotationTypeKindErrors()
87 assertThat(compilation) in reportMultipleAnnotationTypeKindErrors()
92 assertThat(compilation) in reportMultipleAnnotationTypeKindErrors()
112 Compilation compilation = in testInvalidComponentInInstallInAnnotation() local
115 assertThat(compilation).failed(); in testInvalidComponentInInstallInAnnotation()
116 assertThat(compilation) in testInvalidComponentInInstallInAnnotation()
[all …]
/external/connectedappssdk/tests/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/
DCrossProfileCallbackTest.java96 Compilation compilation = javac().withProcessors(new Processor()).compile(callbackInterface); in crossProfileCallbackInterface_compiles() local
98 assertThat(compilation).succeededWithoutWarnings(); in crossProfileCallbackInterface_compiles()
112 Compilation compilation = javac().withProcessors(new Processor()).compile(callbackInterface); in crossProfileCallbackInterface_defaultPackage_hasError() local
114 assertThat(compilation) in crossProfileCallbackInterface_defaultPackage_hasError()
132 Compilation compilation = javac().withProcessors(new Processor()).compile(callbackInterface); in crossProfileCallbackInterface_notInterface_hasError() local
134 assertThat(compilation) in crossProfileCallbackInterface_notInterface_hasError()
150 Compilation compilation = javac().withProcessors(new Processor()).compile(callbackInterface); in crossProfileCallbackInterface_noMethods_hasError() local
152 assertThat(compilation) in crossProfileCallbackInterface_noMethods_hasError()
170 Compilation compilation = javac().withProcessors(new Processor()).compile(callbackInterface); in crossProfileCallbackInterface_simple_moreThanOneMethod_hasError() local
172 assertThat(compilation) in crossProfileCallbackInterface_simple_moreThanOneMethod_hasError()
[all …]
DCrossProfileTest.java90 Compilation compilation = in validCrossProfileAnnotation_compiles() local
97 assertThat(compilation).succeededWithoutWarnings(); in validCrossProfileAnnotation_compiles()
113 Compilation compilation = in staticCrossProfileMethod_compiles() local
118 assertThat(compilation).succeededWithoutWarnings(); in staticCrossProfileMethod_compiles()
135 Compilation compilation = in crossProfileMethodWithUnsupportedReturnType_hasError() local
140 assertThat(compilation) in crossProfileMethodWithUnsupportedReturnType_hasError()
160 Compilation compilation = in crossProfileMethodWithContextReturnType_hasError() local
165 assertThat(compilation) in crossProfileMethodWithContextReturnType_hasError()
184 Compilation compilation = in crossProfileMethodWithUnsupportedReturnTypeArray_hasError() local
189 assertThat(compilation) in crossProfileMethodWithUnsupportedReturnTypeArray_hasError()
[all …]
/external/dagger2/javatests/dagger/hilt/android/processor/internal/androidentrypoint/
DAndroidEntryPointProcessorTest.java44 Compilation compilation = compiler().compile(testActivity); in missingBaseClass() local
45 assertThat(compilation).failed(); in missingBaseClass()
46 assertThat(compilation) in missingBaseClass()
63 Compilation compilation = compiler().compile(testActivity); in incorrectSuperclass() local
64 assertThat(compilation).failed(); in incorrectSuperclass()
65 assertThat(compilation) in incorrectSuperclass()
84 Compilation compilation = in disableSuperclassValidation_activity() local
88 assertThat(compilation).succeeded(); in disableSuperclassValidation_activity()
103 Compilation compilation = in disableSuperclassValidation_application() local
107 assertThat(compilation).succeeded(); in disableSuperclassValidation_application()
[all …]

12345678910>>...87