Home
last modified time | relevance | path

Searched refs:testElement (Results 1 – 13 of 13) sorted by relevance

/external/dagger2/java/dagger/hilt/processor/internal/root/
DTestComponentDataGenerator.java100 TypeElement testElement = rootMetadata.testRootMetadata().testElement(); in getMethod() local
103 ClassName.get(testElement), ClassNames.SINGLETON_COMPONENT); in getMethod()
108 .filter(module -> !canBeConstructedByHilt(module, testElement)) in getMethod()
118 CodeBlock.of("testInstance -> injectInternal(($1T) testInstance)", testElement), in getMethod()
130 .map(module -> getAddModuleStatement(module, testElement)) in getMethod()
148 private static String getAddModuleStatement(TypeElement module, TypeElement testElement) { in getAddModuleStatement() argument
150 return canBeConstructedByHilt(module, testElement) in getAddModuleStatement()
169 private static boolean canBeConstructedByHilt(TypeElement module, TypeElement testElement) { in canBeConstructedByHilt() argument
171 && module.getEnclosingElement().equals(testElement); in canBeConstructedByHilt()
196 TypeElement testElement = rootMetadata.testRootMetadata().testElement(); in getTestInjectInternalMethod() local
[all …]
DTestRootMetadata.java34 abstract TypeElement testElement(); in testElement() method in TestRootMetadata
41 return ClassName.get(testElement()); in testName()
61 TypeElement testElement = MoreElements.asType(element); in of() local
75 return new AutoValue_TestRootMetadata(testElement, baseElement); in of()
DTestInjectorGenerator.java48 .addOriginatingElement(metadata.testElement()) in generate()
49 .addAnnotation(Processors.getOriginatingElementAnnotation(metadata.testElement())) in generate()
53 .addMember("value", "$T.class", installInComponent(metadata.testElement())) in generate()
74 private static ClassName installInComponent(TypeElement testElement) { in installInComponent() argument
DRootProcessor.java171 TypeElement testElement = rootMetadata.testRootMetadata().testElement(); in generateTestComponentData() local
173 testElement.getModifiers().contains(PUBLIC), in generateTestComponentData()
174 testElement, in generateTestComponentData() local
176 testElement); in generateTestComponentData() local
/external/dagger2/java/dagger/hilt/processor/internal/aggregateddeps/
DComponentDependencies.java201 if (metadata.testElement().isPresent()) { in from()
203 ClassName test = ClassName.get(metadata.testElement().get()); in from()
222 .filter(metadata -> metadata.testElement().isPresent()) in from()
223 .map(metadata -> metadata.testElement().get()) in from()
225 .filter(testElement -> Processors.hasAnnotation(testElement, ClassNames.IGNORE_MODULES)) in from()
227 testElement -> in from()
232 ClassName.get(testElement), getUninstalledModules(testElement, elements))); in from()
283 TypeElement testElement, Elements elements) { in getUninstalledModules() argument
287 Processors.getAnnotationMirror(testElement, ClassNames.IGNORE_MODULES), in getUninstalledModules()
369 abstract Optional<TypeElement> testElement(); in testElement() method in ComponentDependencies.AggregatedDepMetadata
DAggregatedDepsProcessor.java197 .map(testElement -> testElement.getQualifiedName().toString()) in processModule()
/external/deqp/scripts/
Dmustpass.py331 testElement = ElementTree.SubElement(configElement, "test")
332 testElement.set("class", RUNNER_CLASS)
333 addOptionElement(testElement, "deqp-package", package.module.name)
334 addOptionElement(testElement, "deqp-caselist-file", getCaseListFileName(package,config))
337 addOptionElement(testElement, "deqp-gl-config-name", config.glconfig)
340 addOptionElement(testElement, "deqp-surface-type", config.surfacetype)
343 addOptionElement(testElement, "deqp-screen-rotation", config.rotation)
346 addOptionElement(testElement, "runtime-hint", config.expectedRuntime)
349 addOptionElement(testElement, "deqp-config-required", "true")
/external/dagger2/javatests/dagger/internal/codegen/
DElementDescriptorsTest.java215 TypeElement testElement = compilation.getElements().getTypeElement(className); in getFieldDescriptors() local
216 return ElementFilter.fieldsIn(testElement.getEnclosedElements()).stream() in getFieldDescriptors()
222 TypeElement testElement = compilation.getElements().getTypeElement(className); in getMethodDescriptors() local
223 return ElementFilter.methodsIn(testElement.getEnclosedElements()).stream() in getMethodDescriptors()
/external/dagger2/java/dagger/hilt/android/processor/internal/bindvalue/
DBindValueGenerator.java58 testClassName = ClassName.get(metadata.testElement()); in BindValueGenerator()
70 .addOriginatingElement(metadata.testElement()) in generate()
71 .addAnnotation(Processors.getOriginatingElementAnnotation(metadata.testElement())) in generate()
DBindValueMetadata.java61 abstract TypeElement testElement(); in testElement() method in BindValueMetadata
67 static BindValueMetadata create(TypeElement testElement, Collection<Element> bindValueElements) { in create() argument
74 return new AutoValue_BindValueMetadata(testElement, elements.build()); in create()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/
DFailingCoroutinesMachineryTest.kt117 fun testElement() = runTest { in <lambda>() method in kotlinx.coroutines.FailingCoroutinesMachineryTest
/external/python/cpython2/Lib/test/
Dtest_minidom.py221 def testElement(self): member in MinidomTest
/external/python/cpython3/Lib/test/
Dtest_minidom.py238 def testElement(self): member in MinidomTest