Home
last modified time | relevance | path

Searched refs:testClass (Results 1 – 20 of 20) sorted by relevance

/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/annotationitem/
DCommonAnnotationItemTest.kt76 val testClass = codebase.assertClass("test.pkg.Test") in annotation with annotation values() constant
77 val anno = testClass.modifiers.annotations().single() in annotation with annotation values()
135 val testClass = codebase.assertClass("test.pkg.Test") in annotation with boolean values() constant
136 val anno = testClass.modifiers.annotations().single() in annotation with boolean values()
185 val testClass = codebase.assertClass("test.pkg.Test") in annotation with char values() constant
186 val anno = testClass.modifiers.annotations().single() in annotation with char values()
235 val testClass = codebase.assertClass("test.pkg.Test") in annotation with class values() constant
236 val anno = testClass.modifiers.annotations().single() in annotation with class values()
346 val testClass = codebase.assertClass("test.pkg.Test") in annotation with number values() constant
347 val anno = testClass.modifiers.annotations().single() in annotation with number values()
[all …]
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/
DCommonModifierListWriterTest.kt61 val testClass = codebase.assertClass("test.pkg.Test") in modifiers public() constant
62 val methodItem = testClass.methods().single() in modifiers public()
93 val testClass = codebase.assertClass("test.pkg.Test") in modifiers public final method in open class() constant
94 val methodItem = testClass.methods().single() in modifiers public final method in open class()
125 val testClass = codebase.assertClass("test.pkg.Test") in modifiers public explicitly final method in final class() constant
126 val methodItem = testClass.methods().single() in modifiers public explicitly final method in final class()
161 val testClass = codebase.assertClass("test.pkg.Test") in modifiers public explicitly final method in final class - normalized() constant
162 val methodItem = testClass.methods().single() in modifiers public explicitly final method in final class - normalized()
193 val testClass = codebase.assertClass("test.pkg.Test") in modifiers public implicitly final method in final class() constant
194 val methodItem = testClass.methods().single() in modifiers public implicitly final method in final class()
DBootstrapSourceModelProviderTest.kt98 val testClass = codebase.assertClass("test.pkg.Test") in 050 - check field exists() constant
99 val fieldItem = testClass.assertField("field") in 050 - check field exists()
101 assertEquals(testClass, fieldItem.containingClass()) in 050 - check field exists()
118 val testClass = codebase.assertClass("test.pkg.Test") in 060 - check method exists() constant
119 val methodItem = testClass.assertMethod("method", "") in 060 - check method exists()
137 val testClass = codebase.assertClass("test.pkg.Test") in 070 - check constructor exists() constant
138 val constructorItem = testClass.assertConstructor("") in 070 - check constructor exists()
655 val testClass = codebase.assertClass("test.pkg.Test") in 180 - test classItem toType() constant
658 val testClassType = testClass.type() in 180 - test classItem toType()
708 val testClass = codebase.assertClass("test.pkg.Test") in 190 - test constructors() constant
[all …]
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DDeviceTestSuite.java34 public DeviceTestSuite(Class<?> testClass) { in DeviceTestSuite() argument
35 super(testClass); in DeviceTestSuite()
70 public void addTestSuite(Class testClass) { in addTestSuite() argument
71 addTest(new DeviceTestSuite(testClass)); in addTestSuite()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/methoditem/
DCommonMethodItemTest.kt120 val testClass = codebase.assertClass("test.pkg.Test") in <lambda>() constant
123 testClass.methods().forEach { in <lambda>()
188 val testClass = codebase.assertClass("test.pkg.Test") in <lambda>() constant
189 val testConstructor = testClass.constructors().single() in <lambda>()
238 val testClass = codebase.assertClass("test.pkg.Test") in <lambda>() constant
241 val testFoo = testClass.methods().single() in <lambda>()
/tools/metalava/metalava-model/src/testFixtures/java/com/android/tools/metalava/model/junit4/
DCustomizableParameterizedRunner.kt98 val testClass = in <lambda>() constant
101 testClass = it in <lambda>()
105 val additionalArguments = getAdditionalArguments(testClass) in <lambda>()
109 val testArguments = argumentsProvider(testClass, additionalArguments) in <lambda>()
141 private fun getAdditionalArguments(testClass: TestClass): List<Array<Any>>? { in getAdditionalArguments()
143 testClass.getAnnotatedMethods(Parameters::class.java).firstOrNull { in getAdditionalArguments()
243 var testClass: TestClass by testClassField variable in ParameterizedBuilder
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DGTestListenerTest.java54 String testClass = "testClass"; in testNoDuplicateTests() local
56 TestDescription testId1 = new TestDescription(testClass, testName1); in testNoDuplicateTests()
58 TestDescription testId2 = new TestDescription(testClass, testName2); in testNoDuplicateTests()
90 String testClass = "testClass"; in testDuplicateTestsFailsWithOptionEnabled() local
93 TestDescription testId1 = new TestDescription(testClass, testName1); in testDuplicateTestsFailsWithOptionEnabled()
DGTestFuncTest.java102 String testClass = test[0]; in testRun() local
104 TestDescription id = new TestDescription(testClass, testName); in testRun()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/
DMoblyYamlResultRecordHandler.java52 String testClass, in Record() argument
58 mTestClass = testClass; in Record()
109 public Builder setTestClass(String testClass) { in setTestClass() argument
110 mTestClass = testClass; in setTestClass()
/tools/metalava/metalava-model/src/testFixtures/java/com/android/tools/metalava/model/testing/
DBaseModelProviderRunner.kt84 { testClass, additionalArguments -> in <lambda>() method
86 testClass, in <lambda>()
163 val newTest = TestWithParameters(suffix, test.testClass, additionalArguments) in createRunnerForTestWithParameters()
240 testClass: TestClass, in createTestArguments()
248 val hierarchy = generateSequence(testClass.javaClass) { it.superclass } in createTestArguments()
258 codebaseCreatorConfigsGetter(testClass) in createTestArguments()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/apilevels/
DInternalDescTest.kt40 val testClass = it.assertClass("test.pkg.Test") in MethodItem internalDesc (psi)() constant
42 testClass.methods().forEach { in MethodItem internalDesc (psi)()
/tools/metalava/metalava-model-psi/src/test/java/com/android/tools/metalava/model/psi/
DPsiItemTest.kt52 val testClass = codebase.assertClass("test.pkg.Test") in Documentation tags extraction() constant
53 val method = testClass.methods().first { it.name() == "foo" } in Documentation tags extraction()
/tools/metalava/metalava-model/src/test/java/com/android/tools/metalava/model/junit4/
DCustomizableParameterizedParametersProviderTest.kt51 testClass: TestClass, in mergeParameters()
54 val customParameters = testClass.getAnnotation(CustomParameters::class.java) in mergeParameters()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/classitem/
DCommonClassItemTest.kt63 val testClass = codebase.assertClass("test.pkg.Test") in empty class() constant
64 assertEquals("Test", testClass.fullName()) in empty class()
65 assertEquals("test/pkg/Test", testClass.internalName()) in empty class()
66 assertEquals("test.pkg.Test", testClass.qualifiedName()) in empty class()
67 assertEquals("test.pkg.Test", testClass.qualifiedNameWithDollarInnerClasses()) in empty class()
68 assertEquals(1, testClass.constructors().size) in empty class()
69 assertEquals(emptyList(), testClass.methods()) in empty class()
70 assertEquals(emptyList(), testClass.fields()) in empty class()
71 assertEquals(emptyList(), testClass.properties()) in empty class()
/tools/asuite/atest/unittest_data/test_mapping/folder6/
Dtest_mapping_sample_golden6 "include-filter": "testClass#testMethod"
Dtest_mapping_sample_with_comments8 "include-filter": "testClass#testMethod" #comment11 // another comments
/tools/tradefederation/core/javatests/res/testdata/
Dtest_mapping_golden16 "include-filter": "testClass#testMethod"
Dtest_mapping_with_comments18 "include-filter": "testClass#testMethod" #comment11 // another comments
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/fielditem/
DCommonFieldItemTest.kt491 val testClass = codebase.assertClass("test.pkg.Test") in <lambda>() constant
494 for (field in testClass.fields()) { in <lambda>()
/tools/tradefederation/contrib/src/com/android/media/tests/
DCameraTestBase.java513 protected void dumpIonHeaps(ITestInvocationListener listener, String testClass) { in dumpIonHeaps() argument
520 String fileName = String.format("ionheaps_%s_onEnd", testClass); in dumpIonHeaps()
584 public void setTestClass(String testClass) { in setTestClass() argument
585 mTestClass = testClass; in setTestClass()