/frameworks/base/test-runner/src/android/test/ |
D | AndroidTestRunner.java | 51 TestCase testCase = buildSingleTestMethod(testClass, testMethodName); in setTestClassName() local 52 mTestCases = Lists.newArrayList(testCase); in setTestClassName() 94 TestCase testCase = (TestCase) testClass.newInstance(); in buildSingleTestMethod() local 95 testCase.setName(testMethodName); in buildSingleTestMethod() 96 return testCase; in buildSingleTestMethod() 165 for (TestCase testCase : mTestCases) { in runTest() 166 setContextIfAndroidTestCase(testCase, mContext, testContext); in runTest() 167 setInstrumentationIfInstrumentationTestCase(testCase, mInstrumentation); in runTest() 168 setPerformanceWriterIfPerformanceCollectorTestCase(testCase, mPerfWriter); in runTest() 169 testCase.run(mTestResult); in runTest()
|
D | TestCaseUtil.java | 125 TestCase testCase = (TestCase) test; in getTestName() local 126 return testCase.getName(); in getTestName()
|
D | TestRunner.java | 394 public void runInPerformanceMode(Object testCase, String className, boolean junitTest, in runInPerformanceMode() argument 444 junit.textui.TestRunner.run((junit.framework.Test) testCase); in runInPerformanceMode() 447 Runnable test = (Runnable) testCase; in runInPerformanceMode()
|
/frameworks/base/test-runner/tests/src/android/test/ |
D | AndroidTestRunnerTest.java | 108 for (TestCase testCase : testCases) { in testRunTestWithAndroidTestCaseInSuite() 109 assertSame(mStubContext, ((AndroidTestCase) testCase).getContext()); in testRunTestWithAndroidTestCaseInSuite() 124 for (TestCase testCase : testCases) { in testRunTestWithAndroidTestCaseInNestedSuite() 125 assertSame(mStubContext, ((AndroidTestCase) testCase).getContext()); in testRunTestWithAndroidTestCaseInNestedSuite() 144 for (TestCase testCase : testCases) { in testSetTestClassWithTestSuiteProvider() 145 testNames.add(testCase.getName()); in testSetTestClassWithTestSuiteProvider() 156 for (TestCase testCase : testCases) { in testSetTestClassWithTestSuite() 157 testNames.add(testCase.getName()); in testSetTestClassWithTestSuite() 167 for (TestCase testCase : testCases) { in testRunSingleTestMethod() 168 testNames.add(testCase.getName()); in testRunSingleTestMethod()
|
D | TestCaseUtilTest.java | 38 TestCase testCase = new OneTestTestCaseWithSuite(); in testGetTestCaseNamesForTestCaseWithSuiteMethod() local 40 List<String> testCaseNames = TestCaseUtil.getTestCaseNames(testCase, false); in testGetTestCaseNamesForTestCaseWithSuiteMethod() 72 TestCase testCase = new OneTestTestCase(); in suite() local 73 testCase.setName("testOne"); in suite() 74 return testCase; in suite()
|
/frameworks/base/test-runner/src/junit/textui/ |
D | TestRunner.java | 153 String testCase= ""; in start() local 160 testCase= extractClassName(args[++i]); in start() 164 testCase= args[i]; in start() 167 if (testCase.equals("")) in start() 171 Test suite= getTest(testCase); in start()
|
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
D | TestSuiteBuilder.java | 88 for (TestCase testCase : (List<TestCase>) TestCaseUtil.getTests(testSuite, true)) { in addTestSuite() 89 this.testCases.add(testCase); in addTestSuite() 188 for (TestCase testCase : testCases) { in build() 189 if (satisfiesAllPredicates(new TestMethod(testCase))) { in build() 190 addTest(testCase); in build()
|
D | TestMethod.java | 46 public TestMethod(TestCase testCase) { in TestMethod() argument 47 this(testCase.getName(), testCase.getClass()); in TestMethod()
|
D | TestGrouping.java | 72 for (Class<? extends TestCase> testCase : testCaseClasses) { in getTests() 73 for (Method testMethod : getTestMethods(testCase)) { in getTests() 74 testMethods.add(new TestMethod(testMethod, testCase)); in getTests()
|
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/ |
D | UnitTestSuiteBuilderTest.java | 105 TestCase testCase = (TestCase) test; in testName() local 106 return testCase.getClass().getSimpleName() + "." + testCase.getName(); in testName()
|
D | InstrumentationTestSuiteBuilderTest.java | 112 TestCase testCase = (TestCase) test; in testName() local 113 return testCase.getClass().getSimpleName() + "." + testCase.getName(); in testName()
|
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/ |
D | PropertyNodesVerifier.java | 34 public PropertyNodesVerifier(AndroidTestCase testCase) { in PropertyNodesVerifier() argument 37 mAndroidTestCase = testCase; in PropertyNodesVerifier()
|
/frameworks/compile/libbcc/runtime/test/Unit/ppc/ |
D | floatunditf_test.h | 1 struct testCase { struct 7 struct testCase tests[] = { argument 19014 static const int numTests = sizeof(tests) / sizeof(struct testCase);
|
D | floatditf_test.h | 1 struct testCase { struct 7 struct testCase tests[] = { argument 38018 static const int numTests = sizeof(tests) / sizeof(struct testCase);
|