/frameworks/base/test-runner/src/android/test/ |
D | AndroidTestRunner.java | 53 TestCase testCase = buildSingleTestMethod(testClass, testMethodName); in setTestClassName() local 54 mTestCases = Lists.newArrayList(testCase); in setTestClassName() 113 TestCase testCase = (TestCase) constructor.newInstance(args); in newSingleTestMethod() local 114 testCase.setName(testMethodName); in newSingleTestMethod() 115 return testCase; in newSingleTestMethod() 187 for (TestCase testCase : mTestCases) { in runTest() 188 setContextIfAndroidTestCase(testCase, mContext, testContext); in runTest() 189 setInstrumentationIfInstrumentationTestCase(testCase, mInstrumentation); in runTest() 190 setPerformanceWriterIfPerformanceCollectorTestCase(testCase, mPerfWriter); in runTest() 191 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/android/test/suitebuilder/ |
D | TestSuiteBuilder.java | 86 for (TestCase testCase : (List<TestCase>) TestCaseUtil.getTests(testSuite, true)) { in addTestSuite() 87 this.testCases.add(testCase); in addTestSuite() 186 for (TestCase testCase : testCases) { in build() 187 if (satisfiesAllPredicates(new TestMethod(testCase))) { in build() 188 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/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/ |
D | TestCaseCollector.java | 110 TestCase testCase = (TestCase) clazz.newInstance(); in addSingleTestMethod() local 111 testCase.setName(method); in addSingleTestMethod() 112 mTestCases.add(testCase); in addSingleTestMethod()
|
D | UiAutomatorTestRunner.java | 158 for (TestCase testCase : testCases) { in start() 159 prepareTestCase(testCase); in start() 160 testCase.run(testRunResult); in start() 426 protected void prepareTestCase(TestCase testCase) { in prepareTestCase() argument 427 ((UiAutomatorTestCase)testCase).setAutomationSupport(mAutomationSupport); in prepareTestCase() 428 ((UiAutomatorTestCase)testCase).setUiDevice(mUiDevice); in prepareTestCase() 429 ((UiAutomatorTestCase)testCase).setParams(mParams); in prepareTestCase()
|
/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()
|