/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | OptionalClassRunner.java | 47 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 D | AndroidTestRunner.java | 54 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 D | TestCaseUtil.java | 85 static Test invokeSuiteMethodIfPossible(Class testClass, argument 88 Method suiteMethod = testClass.getMethod( 97 && !seen.contains(testClass)) { 98 seen.add(testClass);
|
H A D | InstrumentationTestRunner.java | 433 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 D | SuwLibRobolectricTestRunner.java | 26 public SuwLibRobolectricTestRunner(Class<?> testClass) throws InitializationError { argument 27 super(testClass);
|
/frameworks/base/test-base/src/android/test/ |
H A D | InstrumentationTestSuite.java | 65 public void addTestSuite(Class testClass) { argument 66 addTest(new InstrumentationTestSuite(testClass, mInstrumentation));
|
/frameworks/base/services/robotests/src/com/android/server/testing/ |
H A D | FrameworkRobolectricTestRunner.java | 73 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 D | PerformanceRunner.java | 40 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 D | SettingsLibRobolectricTestRunner.java | 33 public SettingsLibRobolectricTestRunner(Class<?> testClass) throws InitializationError { argument 34 super(testClass);
|
/frameworks/rs/tests/java_api/RSTestForward/src/com/android/rs/testforward/ |
H A D | RSForwardCompatibilityTests.java | 57 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 D | RSSupportLibTests.java | 56 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 D | RSSupportLibTests.java | 56 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 D | RSTest.java | 57 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 D | BandwidthTestCase.java | 47 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 D | TestRunner.java | 61 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 D | CarSetupWizardLibRobolectricTestRunner.java | 53 public CarSetupWizardLibRobolectricTestRunner(Class<?> testClass) throws InitializationError { argument 54 super(testClass);
|
/frameworks/rs/tests/java_api/RSTestBackward/src/com/android/rs/testbackward/ |
H A D | RSBackwardCompatibilityTests.java | 65 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 D | RSBackward19CompatibilityTests.java | 79 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 D | RSListActivity.java | 34 for (Class<? extends UnitTest> testClass : testClasses) { 35 UnitTest test = testClass.getDeclaredConstructor(Context.class).newInstance(this);
|
/frameworks/base/test-runner/src/junit/runner/ |
H A D | BaseTestRunner.java | 99 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 D | UiAutomatorTestRunner.java | 278 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 D | TestSuite.java | 208 public void addTestSuite(Class<? extends TestCase> testClass) { argument 209 addTest(new TestSuite(testClass));
|
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
H A D | TestGrouping.java | 140 for (Class<?> testClass : select(allClasses, 142 testClasses.add((Class<? extends TestCase>) testClass);
|
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |