Searched refs:testClass (Results 1 - 24 of 24) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DOptionalClassRunner.java47 public OptionalClassRunner(Class<?> testClass) throws InitializationError { argument
48 OptionalClass annotation = testClass.getAnnotation(OptionalClass.class);
51 "No " + OptionalClass.class.getName() + " annotation found on " + testClass);
59 delegate = new JUnit4(testClass);
63 delegate = new ClassNotFoundRunner(testClass, className);
93 ClassNotFoundRunner(Class<?> testClass, String className) argument
95 super(testClass);
96 this.mChildren = Collections.singletonList(new ChildRunner(testClass, className));
120 ChildRunner(Class<?> testClass, String className) { argument
121 this.mTestClass = testClass;
[all...]
/frameworks/base/test-runner/src/android/test/
H A DAndroidTestRunner.java54 Class testClass = loadTestClass(testClassName);
56 if (shouldRunSingleTestMethod(testMethodName, testClass)) {
57 TestCase testCase = buildSingleTestMethod(testClass, testMethodName);
60 mTestClassName = testClass.getSimpleName();
62 setTest(getTest(testClass), testClass);
70 private void setTest(Test test, Class<? extends Test> testClass) { argument
72 if (TestSuite.class.isAssignableFrom(testClass)) {
75 mTestClassName = testClass.getSimpleName();
99 private TestCase buildSingleTestMethod(Class testClass, Strin argument
115 newSingleTestMethod(Class testClass, String testMethodName, Constructor constructor, Object... args) argument
133 shouldRunSingleTestMethod(String testMethodName, Class<? extends Test> testClass) argument
[all...]
H A DTestCaseUtil.java85 static Test invokeSuiteMethodIfPossible(Class testClass, argument
88 Method suiteMethod = testClass.getMethod(
97 && !seen.contains(testClass)) {
98 seen.add(testClass);
H A DInstrumentationTestRunner.java433 for (String testClass : testClasses) {
434 parseTestClass(testClass, testSuiteBuilder);
768 String testClass = test.getClass().getName();
771 mTestResult.putString(REPORT_KEY_NAME_CLASS, testClass);
775 if (testClass != null && !testClass.equals(mTestClass)) {
777 String.format("\n%s:", testClass));
778 mTestClass = testClass;
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/robolectric/
H A DSuwLibRobolectricTestRunner.java26 public SuwLibRobolectricTestRunner(Class<?> testClass) throws InitializationError { argument
27 super(testClass);
/frameworks/base/test-base/src/android/test/
H A DInstrumentationTestSuite.java65 public void addTestSuite(Class testClass) { argument
66 addTest(new InstrumentationTestSuite(testClass, mInstrumentation));
/frameworks/base/services/robotests/src/com/android/server/testing/
H A DFrameworkRobolectricTestRunner.java73 public FrameworkRobolectricTestRunner(Class<?> testClass) throws InitializationError { argument
74 super(testClass);
75 Set<String> classPrefixes = getSystemLoaderClassPrefixes(testClass);
79 private Set<String> getSystemLoaderClassPrefixes(Class<?> testClass) { argument
81 SystemLoaderClasses byClass = testClass.getAnnotation(SystemLoaderClasses.class);
85 SystemLoaderPackages byPackage = testClass.getAnnotation(SystemLoaderPackages.class);
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/
H A DPerformanceRunner.java40 public PerformanceRunner(Class<?> testClass) throws InitializationError { argument
41 super(testClass);
43 Configuration classConfig = testClass.getAnnotation(Configuration.class);
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
H A DSettingsLibRobolectricTestRunner.java33 public SettingsLibRobolectricTestRunner(Class<?> testClass) throws InitializationError { argument
34 super(testClass);
/frameworks/rs/tests/java_api/RSTestForward/src/com/android/rs/testforward/
H A DRSForwardCompatibilityTests.java57 for (Class<? extends UnitTest> testClass : testClasses) {
58 UnitTest test = testClass.getDeclaredConstructor(Context.class).newInstance(ctx);
/frameworks/rs/tests/java_api/RSTest_CompatLib/src/com/android/rs/testcompat/
H A DRSSupportLibTests.java56 for (Class<? extends UnitTest> testClass : testClasses) {
57 UnitTest test = testClass.getDeclaredConstructor(Context.class).newInstance(ctx);
/frameworks/rs/tests/java_api/RSTest_CompatLib19/src/com/android/rs/testcompat/
H A DRSSupportLibTests.java56 for (Class<? extends UnitTest> testClass : testClasses) {
57 UnitTest test = testClass.getDeclaredConstructor(Context.class).newInstance(ctx);
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/
H A DRSTest.java57 for (Class<? extends UnitTest> testClass : testClasses) {
58 UnitTest test = testClass.getDeclaredConstructor(Context.class).newInstance(ctx);
/frameworks/base/core/tests/utillib/src/android/test/
H A DBandwidthTestCase.java47 Class testClass = null;
53 testClass = getClass();
54 method = testClass.getMethod(fName, (Class[]) null);
90 testClass.isAnnotationPresent(BandwidthTest.class)) {
/frameworks/base/test-runner/src/junit/textui/
H A DTestRunner.java61 static public void run(Class<? extends TestCase> testClass) { argument
62 run(new TestSuite(testClass));
187 Class<? extends TestCase> testClass= loadSuiteClass(testCase).asSubclass(TestCase.class);
188 Test test= TestSuite.createTest(testClass, method);
/frameworks/opt/car/setupwizard/library/tests/robotests/src/com/android/car/setupwizardlib/robolectric/
H A DCarSetupWizardLibRobolectricTestRunner.java53 public CarSetupWizardLibRobolectricTestRunner(Class<?> testClass) throws InitializationError { argument
54 super(testClass);
/frameworks/rs/tests/java_api/RSTestBackward/src/com/android/rs/testbackward/
H A DRSBackwardCompatibilityTests.java65 for (Class<? extends UnitTest> testClass : testClasses) {
66 UnitTest test = testClass.getDeclaredConstructor(Context.class).newInstance(ctx);
/frameworks/rs/tests/java_api/RSTestBackward19/src/com/android/rs/testbackward19/
H A DRSBackward19CompatibilityTests.java79 for (Class<? extends UnitTest> testClass : testClasses) {
80 UnitTest test = testClass.getDeclaredConstructor(Context.class).newInstance(ctx);
/frameworks/rs/tests/java_api/RSUnitTests/gui/com/android/rs/unittest/
H A DRSListActivity.java34 for (Class<? extends UnitTest> testClass : testClasses) {
35 UnitTest test = testClass.getDeclaredConstructor(Context.class).newInstance(this);
/frameworks/base/test-runner/src/junit/runner/
H A DBaseTestRunner.java99 Class<?> testClass= null;
101 testClass= loadSuiteClass(suiteClassName);
114 suiteMethod= testClass.getMethod(SUITE_METHODNAME, new Class[0]);
118 return new TestSuite(testClass);
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
H A DUiAutomatorTestRunner.java278 String testClass = test.getClass().getName();
281 mTestResult.putString(REPORT_KEY_NAME_CLASS, testClass);
285 if (testClass != null && !testClass.equals(mTestClass)) {
287 String.format("\n%s:", testClass));
288 mTestClass = testClass;
/frameworks/base/test-base/src/junit/framework/
H A DTestSuite.java208 public void addTestSuite(Class<? extends TestCase> testClass) { argument
209 addTest(new TestSuite(testClass));
/frameworks/base/test-runner/src/android/test/suitebuilder/
H A DTestGrouping.java140 for (Class<?> testClass : select(allClasses,
142 testClasses.add((Class<? extends TestCase>) testClass);
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 308 milliseconds