Home
last modified time | relevance | path

Searched refs:testCaseNames (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/test-runner/tests/src/android/test/
DTestCaseUtilTest.java32 List<String> testCaseNames = new ArrayList<>(); in getTestCaseNames() local
34 testCaseNames.add(TestCaseUtil.getTestName(aTest)); in getTestCaseNames()
36 return testCaseNames; in getTestCaseNames()
42 List<String> testCaseNames = getTestCaseNames(testSuite); in testGetTests_ForTestSuiteWithSuiteMethod() local
44 assertEquals(0, testCaseNames.size()); in testGetTests_ForTestSuiteWithSuiteMethod()
50 List<String> testCaseNames = getTestCaseNames(testCase); in testGetTests_ForTestCaseWithSuiteMethod() local
52 assertEquals(1, testCaseNames.size()); in testGetTests_ForTestCaseWithSuiteMethod()
53 assertTrue(testCaseNames.get(0).endsWith("testOne")); in testGetTests_ForTestCaseWithSuiteMethod()
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
DSmokeTestSuiteBuilderTest.java30 List<String> testCaseNames = ListTestCaseNames.getTestCaseNames(testSuite); in testShouldOnlyIncludeSmokeTests() local
31 assertEquals("Unexpected number of smoke tests.", 1, testCaseNames.size()); in testShouldOnlyIncludeSmokeTests()
32 assertEquals("Unexpected test name", "testSmoke", testCaseNames.get(0)); in testShouldOnlyIncludeSmokeTests()
DListTestCaseNames.java31 ArrayList<String> testCaseNames = new ArrayList<String>(); in getTestCaseNames() local
34 testCaseNames.add(((TestCase) test).getName()); in getTestCaseNames()
36 testCaseNames.addAll(getTestCaseNames((TestSuite) test)); in getTestCaseNames()
39 return testCaseNames; in getTestCaseNames()