Home
last modified time | relevance | path

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

/frameworks/base/test-runner/src/android/test/
DAndroidTestRunner.java57 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 …]
DTestCaseUtil.java96 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()
DInstrumentationTestRunner.java429 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()
DInstrumentationCoreTestRunner.java144 private void printMemory(Class<? extends Test> testClass) { in getAndroidTestRunner()
154 Log.d(TAG, "Now executing : " + testClass.getName()); in getAndroidTestRunner()
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/
DPerformanceRunner.java40 public PerformanceRunner(Class<?> testClass) throws InitializationError { in PerformanceRunner() argument
41 super(testClass); in PerformanceRunner()
43 Configuration classConfig = testClass.getAnnotation(Configuration.class); in PerformanceRunner()
/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/test-runner/src/junit/textui/
DTestRunner.java61 static public void run(Class<? extends TestCase> testClass) { in run() argument
62 run(new TestSuite(testClass)); in run()
187 Class<? extends TestCase> testClass= loadSuiteClass(testCase).asSubclass(TestCase.class); in runSingleMethod() local
188 Test test= TestSuite.createTest(testClass, method); in runSingleMethod()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DSettingLibRobolectricTestRunner.java26 public SettingLibRobolectricTestRunner(Class<?> testClass) throws InitializationError { in SettingLibRobolectricTestRunner() argument
27 super(testClass); in SettingLibRobolectricTestRunner()
/frameworks/base/legacy-test/src/android/test/
DInstrumentationTestSuite.java65 public void addTestSuite(Class testClass) { in addTestSuite() argument
66 addTest(new InstrumentationTestSuite(testClass, mInstrumentation)); in addTestSuite()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/robolectric/
DSuwLibRobolectricTestRunner.java30 public SuwLibRobolectricTestRunner(Class<?> testClass) throws InitializationError { in SuwLibRobolectricTestRunner() argument
31 super(testClass); in SuwLibRobolectricTestRunner()
/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/junit/runner/
DBaseTestRunner.java99 Class<?> testClass= null; in getTest() local
101 testClass= loadSuiteClass(suiteClassName); in getTest()
114 suiteMethod= testClass.getMethod(SUITE_METHODNAME, new Class[0]); in getTest()
118 return new TestSuite(testClass); in getTest()
/frameworks/base/legacy-test/src/junit/framework/
DTestSuite.java208 public void addTestSuite(Class<? extends TestCase> testClass) {
209 addTest(new TestSuite(testClass));
/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/ ...