Home
last modified time | relevance | path

Searched refs:testSuite (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/test-runner/src/android/test/
DTestCaseUtil.java79 TestSuite testSuite = (TestSuite) workingTest; in getTests() local
80 Enumeration enumeration = testSuite.tests(); in getTests()
129 TestSuite testSuite = (TestSuite) test; in getTestName() local
130 String name = testSuite.getName(); in getTestName()
143 public static Test getTestAtIndex(TestSuite testSuite, int position) { in getTestAtIndex() argument
145 Enumeration enumeration = testSuite.tests(); in getTestAtIndex()
165 TestSuite testSuite = new TestSuite(test.getClass().getName()); in createTestSuite() local
166 testSuite.addTest(test); in createTestSuite()
167 return testSuite; in createTestSuite()
DInstrumentationTestRunner.java366 TestSuite testSuite = getTestSuite(); in onCreate() local
367 if (testSuite != null) { in onCreate()
368 testSuiteBuilder.addTestSuite(testSuite); in onCreate()
/frameworks/base/test-runner/tests/src/android/test/
DAndroidTestRunnerTest.java199 TestSuite testSuite = new TestSuite(); in getTestSuite() local
200 testSuite.addTestSuite(OneTestTestCase.class); in getTestSuite()
201 return testSuite; in getTestSuite()
211 TestSuite testSuite = new TestSuite(); in suite() local
212 testSuite.addTestSuite(OneTestTestCase.class); in suite()
213 testSuite.addTestSuite(TwoTestTestCase.class); in suite()
214 return testSuite; in suite()
220 TestSuite testSuite = new TestSuite(); in suite() local
221 testSuite.addTestSuite(OneAndroidTestTestCase.class); in suite()
222 return testSuite; in suite()
DInstrumentationTestRunnerTest.java71 TestSuite testSuite = new TestSuite(); in testUseSelfAsTestSuiteProviderWhenNoMetaDataOrClassArgument() local
72 testSuite.addTestSuite(PlaceHolderTest.class); in testUseSelfAsTestSuiteProviderWhenNoMetaDataOrClassArgument()
73 mInstrumentationTestRunner.setAllTestsSuite(testSuite); in testUseSelfAsTestSuiteProviderWhenNoMetaDataOrClassArgument()
252 public void setAllTestsSuite(TestSuite testSuite) { in setAllTestsSuite() argument
253 mTestSuite = testSuite; in setAllTestsSuite()
256 public void setDefaultTestsSuite(TestSuite testSuite) { in setDefaultTestsSuite() argument
257 mDefaultTestSuite = testSuite; in setDefaultTestsSuite()
DTestCaseUtilTest.java28 TestSuite testSuite = new TwoTestsInTestSuite(); in testGetTestCaseNamesForTestSuiteWithSuiteMethod() local
30 List<String> testCaseNames = TestCaseUtil.getTestCaseNames(testSuite, false); in testGetTestCaseNamesForTestSuiteWithSuiteMethod()
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
DSmokeTestSuiteBuilderTest.java27 TestSuite testSuite = new SmokeTestSuiteBuilder(getClass()) in testShouldOnlyIncludeSmokeTests() local
30 List<String> testCaseNames = ListTestCaseNames.getTestCaseNames(testSuite); in testShouldOnlyIncludeSmokeTests()
DTestSuiteBuilderTest.java114 TestSuite testSuite = testSuiteBuilder.build(); in testExcludePackage() local
115 assertContentsInOrder(getTestCaseNames(testSuite), in testExcludePackage()
136 TestSuite testSuite = new OuterTest().buildTestsUnderHereRecursively(); in testIncludeAllPackagesUnderHere() local
137 assertContentsInOrder(getTestCaseNames(testSuite), in testIncludeAllPackagesUnderHere()
DUnitTestSuiteBuilderTest.java44 TestSuite testSuite = unitTestSuiteBuilder.build(); in testShouldExcludeIntrumentationTests() local
45 Assert.assertEquals(0, ListTestCaseNames.getTestCaseNames(testSuite).size()); in testShouldExcludeIntrumentationTests()
DInstrumentationTestSuiteBuilderTest.java53 TestSuite testSuite = new OuterTest() in testShouldOnlyIncludeIntrumentationTests() local
55 List<String> testCaseNames = getTestCaseNames(testSuite); in testShouldOnlyIncludeIntrumentationTests()
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestSuiteBuilder.java85 public TestSuiteBuilder addTestSuite(TestSuite testSuite) { in addTestSuite() argument
86 for (TestCase testCase : (List<TestCase>) TestCaseUtil.getTests(testSuite, true)) { in addTestSuite()