/frameworks/base/test-runner/tests/src/android/test/ |
H A D | TestCaseUtilTest.java | 38 TestCase testCase = new OneTestTestCaseWithSuite(); 40 List<String> testCaseNames = TestCaseUtil.getTestCaseNames(testCase, false); 72 TestCase testCase = new OneTestTestCase(); 73 testCase.setName("testOne"); 74 return testCase;
|
H A D | AndroidTestRunnerTest.java | 108 for (TestCase testCase : testCases) { 109 assertSame(mStubContext, ((AndroidTestCase) testCase).getContext()); 124 for (TestCase testCase : testCases) { 125 assertSame(mStubContext, ((AndroidTestCase) testCase).getContext()); 144 for (TestCase testCase : testCases) { 145 testNames.add(testCase.getName()); 156 for (TestCase testCase : testCases) { 157 testNames.add(testCase.getName()); 167 for (TestCase testCase : testCases) { 168 testNames.add(testCase [all...] |
/frameworks/base/test-runner/src/junit/textui/ |
H A D | TestRunner.java | 153 String testCase= ""; 161 testCase= extractClassName(args[++i]); 165 testCase= arg.substring(0, lastIndex); 170 testCase= args[i]; 173 if (testCase.equals("")) 178 return runSingleMethod(testCase, method, wait); 179 Test suite= getTest(testCase); 186 protected TestResult runSingleMethod(String testCase, String method, boolean wait) throws Exception { argument 187 Class<? extends TestCase> testClass= loadSuiteClass(testCase).asSubclass(TestCase.class);
|
/frameworks/base/test-runner/src/android/test/ |
H A D | AndroidTestRunner.java | 52 TestCase testCase = buildSingleTestMethod(testClass, testMethodName); 53 mTestCases = Lists.newArrayList(testCase); 112 TestCase testCase = (TestCase) constructor.newInstance(args); 113 testCase.setName(testMethodName); 114 return testCase; 186 for (TestCase testCase : mTestCases) { 187 setContextIfAndroidTestCase(testCase, mContext, testContext); 188 setInstrumentationIfInstrumentationTestCase(testCase, mInstrumentation); 189 setPerformanceWriterIfPerformanceCollectorTestCase(testCase, mPerfWriter); 190 testCase [all...] |
H A D | TestCaseUtil.java | 125 TestCase testCase = (TestCase) test; 126 return testCase.getName();
|
H A D | TestRunner.java | 394 public void runInPerformanceMode(Object testCase, String className, boolean junitTest, argument 444 junit.textui.TestRunner.run((junit.framework.Test) testCase); 447 Runnable test = (Runnable) testCase;
|
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/testrunner/ |
H A D | TestCaseCollector.java | 110 TestCase testCase = (TestCase) clazz.newInstance(); 111 testCase.setName(method); 112 mTestCases.add(testCase);
|
H A D | UiAutomatorTestRunner.java | 119 for (TestCase testCase : testCases) { 120 prepareTestCase(testCase); 121 testCase.run(testRunResult); 325 * @param testCase 327 protected void prepareTestCase(TestCase testCase) { argument 328 ((UiAutomatorTestCase)testCase).setAutomationSupport(mAutomationSupport); 329 ((UiAutomatorTestCase)testCase).setUiDevice(mUiDevice); 330 ((UiAutomatorTestCase)testCase).setParams(mParams);
|
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
H A D | TestMethod.java | 46 public TestMethod(TestCase testCase) { argument 47 this(testCase.getName(), testCase.getClass());
|
H A D | TestSuiteBuilder.java | 88 for (TestCase testCase : (List<TestCase>) TestCaseUtil.getTests(testSuite, true)) { 89 this.testCases.add(testCase); 188 for (TestCase testCase : testCases) { 189 if (satisfiesAllPredicates(new TestMethod(testCase))) { 190 addTest(testCase);
|
H A D | TestGrouping.java | 72 for (Class<? extends TestCase> testCase : testCaseClasses) { 73 for (Method testMethod : getTestMethods(testCase)) { 74 testMethods.add(new TestMethod(testMethod, testCase));
|
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/ |
H A D | InstrumentationTestSuiteBuilderTest.java | 112 TestCase testCase = (TestCase) test; 113 return testCase.getClass().getSimpleName() + "." + testCase.getName();
|
H A D | UnitTestSuiteBuilderTest.java | 105 TestCase testCase = (TestCase) test; 106 return testCase.getClass().getSimpleName() + "." + testCase.getName();
|
H A D | TestSuiteBuilderTest.java | 214 TestCase testCase = (TestCase) test; 215 return testCase.getClass().getSimpleName() + "." + testCase.getName();
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
H A D | PropertyNodesVerifier.java | 34 public PropertyNodesVerifier(AndroidTestCase testCase) { argument 37 mAndroidTestCase = testCase;
|
/frameworks/compile/libbcc/runtime/test/Unit/ppc/ |
H A D | floatunditf_test.h | 1 struct testCase { struct 7 struct testCase tests[] = { [all...] |
H A D | floatditf_test.h | 1 struct testCase { struct 7 struct testCase tests[] = { [all...] |