Searched refs:testClass (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/test-runner/src/junit/runner/ |
D | LoadingTestCollector.java | 24 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/ |
D | AndroidTestRunner.java | 57 Class testClass = loadTestClass(testClassName); in setTestClassName() local 59 if (shouldRunSingleTestMethod(testMethodName, testClass)) { in setTestClassName() 60 TestCase testCase = buildSingleTestMethod(testClass, testMethodName); in setTestClassName() 62 mTestClassName = testClass.getSimpleName(); in setTestClassName() 64 setTest(getTest(testClass), testClass); in setTestClassName() local 72 private void setTest(Test test, Class<? extends Test> testClass) { in setTest() argument 74 if (TestSuite.class.isAssignableFrom(testClass)) { in setTest() 77 mTestClassName = testClass.getSimpleName(); in setTest() 101 private TestCase buildSingleTestMethod(Class testClass, String testMethodName) { in buildSingleTestMethod() argument 103 Constructor c = testClass.getConstructor(); in buildSingleTestMethod() [all …]
|
D | TestCaseUtil.java | 96 private static Test invokeSuiteMethodIfPossible(Class testClass, in invokeSuiteMethodIfPossible() argument 99 Method suiteMethod = testClass.getMethod( in invokeSuiteMethodIfPossible() 108 && !seen.contains(testClass)) { in invokeSuiteMethodIfPossible() 109 seen.add(testClass); in invokeSuiteMethodIfPossible() 156 public static TestSuite createTestSuite(Class<? extends Test> testClass) in createTestSuite() argument 159 Test test = invokeSuiteMethodIfPossible(testClass, in createTestSuite() 162 return new TestSuite(testClass); in createTestSuite()
|
D | InstrumentationTestRunner.java | 429 for (String testClass : testClasses) { in parseTestClasses() 430 parseTestClass(testClass, testSuiteBuilder); in parseTestClasses() 767 String testClass = test.getClass().getName(); in startTest() local 770 mTestResult.putString(REPORT_KEY_NAME_CLASS, testClass); in startTest() 774 if (testClass != null && !testClass.equals(mTestClass)) { in startTest() 776 String.format("\n%s:", testClass)); in startTest() 777 mTestClass = testClass; in startTest()
|
D | InstrumentationCoreTestRunner.java | 144 private void printMemory(Class<? extends Test> testClass) { in getAndroidTestRunner() 154 Log.d(TAG, "Now executing : " + testClass.getName()); in getAndroidTestRunner()
|
/frameworks/base/core/tests/utillib/src/android/test/ |
D | BandwidthTestCase.java | 47 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/ |
D | InstrumentationTestSuite.java | 65 public void addTestSuite(Class testClass) { in addTestSuite() argument 66 addTest(new InstrumentationTestSuite(testClass, mInstrumentation)); in addTestSuite()
|
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/ |
D | UiAutomatorTestRunner.java | 278 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/ |
D | TestGrouping.java | 162 for (Class<?> testClass : select(allClasses, in selectTestClasses() 164 testClasses.add((Class<? extends TestCase>) testClass); in selectTestClasses()
|