Home
last modified time | relevance | path

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

/frameworks/base/test-runner/src/junit/runner/
DLoadingTestCollector.java24 Class testClass= classFromFile(classFileName); in isTestClass() local
25 return (testClass != null) && isTestClass(testClass); in isTestClass()
42 boolean isTestClass(Class testClass) { in isTestClass() argument
43 if (hasSuiteMethod(testClass)) in isTestClass()
45 if (Test.class.isAssignableFrom(testClass) && in isTestClass()
46 Modifier.isPublic(testClass.getModifiers()) && in isTestClass()
47 hasPublicConstructor(testClass)) in isTestClass()
52 boolean hasSuiteMethod(Class testClass) { in hasSuiteMethod() argument
54 testClass.getMethod(BaseTestRunner.SUITE_METHODNAME, new Class[0]); in hasSuiteMethod()
61 boolean hasPublicConstructor(Class testClass) { in hasPublicConstructor() argument
[all …]
/frameworks/base/test-runner/src/android/test/
DAndroidTestRunner.java50 Class testClass = loadTestClass(testClassName); in setTestClassName() local
52 if (shouldRunSingleTestMethod(testMethodName, testClass)) { in setTestClassName()
53 TestCase testCase = buildSingleTestMethod(testClass, testMethodName); in setTestClassName()
55 mTestClassName = testClass.getSimpleName(); in setTestClassName()
57 setTest(getTest(testClass), testClass); in setTestClassName() local
65 private void setTest(Test test, Class<? extends Test> testClass) { in setTest() argument
67 if (TestSuite.class.isAssignableFrom(testClass)) { in setTest()
70 mTestClassName = testClass.getSimpleName(); in setTest()
94 private TestCase buildSingleTestMethod(Class testClass, String testMethodName) { in buildSingleTestMethod() argument
96 Constructor c = testClass.getConstructor(); in buildSingleTestMethod()
[all …]
DTestCaseUtil.java95 private static Test invokeSuiteMethodIfPossible(Class testClass, in invokeSuiteMethodIfPossible() argument
98 Method suiteMethod = testClass.getMethod( in invokeSuiteMethodIfPossible()
107 && !seen.contains(testClass)) { in invokeSuiteMethodIfPossible()
108 seen.add(testClass); in invokeSuiteMethodIfPossible()
155 public static TestSuite createTestSuite(Class<? extends Test> testClass) in createTestSuite() argument
158 Test test = invokeSuiteMethodIfPossible(testClass, in createTestSuite()
161 return new TestSuite(testClass); in createTestSuite()
DInstrumentationTestRunner.java424 for (String testClass : testClasses) { in parseTestClasses()
425 parseTestClass(testClass, testSuiteBuilder); in parseTestClasses()
762 String testClass = test.getClass().getName(); in startTest() local
765 mTestResult.putString(REPORT_KEY_NAME_CLASS, testClass); in startTest()
769 if (testClass != null && !testClass.equals(mTestClass)) { in startTest()
771 String.format("\n%s:", testClass)); in startTest()
772 mTestClass = testClass; in startTest()
DInstrumentationCoreTestRunner.java149 private void printMemory(Class<? extends Test> testClass) { in getAndroidTestRunner()
159 Log.d(TAG, "Now executing : " + testClass.getName()); in getAndroidTestRunner()
/frameworks/base/core/tests/utillib/src/android/test/
DBandwidthTestCase.java47 Class testClass = null; in runTest() local
53 testClass = getClass(); in runTest()
54 method = testClass.getMethod(fName, (Class[]) null); in runTest()
90 testClass.isAnnotationPresent(BandwidthTest.class)) { in runTest()
/frameworks/base/core/java/android/test/
DInstrumentationTestSuite.java59 public void addTestSuite(Class testClass) { in addTestSuite() argument
60 addTest(new InstrumentationTestSuite(testClass, mInstrumentation)); in addTestSuite()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestRunner.java278 String testClass = test.getClass().getName(); in startTest() local
281 mTestResult.putString(REPORT_KEY_NAME_CLASS, testClass); in startTest()
285 if (testClass != null && !testClass.equals(mTestClass)) { in startTest()
287 String.format("\n%s:", testClass)); in startTest()
288 mTestClass = testClass; in startTest()
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestGrouping.java162 for (Class<?> testClass : select(allClasses, in selectTestClasses()
164 testClasses.add((Class<? extends TestCase>) testClass); in selectTestClasses()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...