Home
last modified time | relevance | path

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

/frameworks/base/test-runner/tests/src/android/test/
DTestCaseUtilTest.java30 List<String> testCaseNames = TestCaseUtil.getTestCaseNames(testSuite, false); in testGetTestCaseNamesForTestSuiteWithSuiteMethod() local
32 assertEquals(2, testCaseNames.size()); in testGetTestCaseNamesForTestSuiteWithSuiteMethod()
33 assertTrue(testCaseNames.get(0).endsWith("OneTestTestCase")); in testGetTestCaseNamesForTestSuiteWithSuiteMethod()
34 assertTrue(testCaseNames.get(1).endsWith("OneTestTestSuite")); in testGetTestCaseNamesForTestSuiteWithSuiteMethod()
40 List<String> testCaseNames = TestCaseUtil.getTestCaseNames(testCase, false); in testGetTestCaseNamesForTestCaseWithSuiteMethod() local
42 assertEquals(1, testCaseNames.size()); in testGetTestCaseNamesForTestCaseWithSuiteMethod()
43 assertTrue(testCaseNames.get(0).endsWith("testOne")); in testGetTestCaseNamesForTestCaseWithSuiteMethod()
/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()
DInstrumentationTestSuiteBuilderTest.java55 List<String> testCaseNames = getTestCaseNames(testSuite); in testShouldOnlyIncludeIntrumentationTests() local
56 assertEquals(1, testCaseNames.size()); in testShouldOnlyIncludeIntrumentationTests()
57 assertEquals("testInstrumentation", testCaseNames.get(0)); in testShouldOnlyIncludeIntrumentationTests()
/frameworks/base/test-runner/src/android/test/
DTestCaseUtil.java46 List<String> testCaseNames = Lists.newArrayList(); in getTestCaseNames() local
48 testCaseNames.add(getTestName(aTest)); in getTestCaseNames()
50 return testCaseNames; in getTestCaseNames()