Home
last modified time | relevance | path

Searched refs:TestSuite (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaFrameworkUnitTestRunner.java23 import junit.framework.TestSuite;
45 public TestSuite getAllTests() { in getAllTests()
46 TestSuite suite = new InstrumentationTestSuite(this); in getAllTests()
62 private void addCameraUnitTests(TestSuite suite) { in addCameraUnitTests()
68 private void addImageReaderTests(TestSuite suite) { in addImageReaderTests()
73 private void addMediaMetadataRetrieverStateUnitTests(TestSuite suite) { in addMediaMetadataRetrieverStateUnitTests()
78 private void addMediaRecorderStateUnitTests(TestSuite suite) { in addMediaRecorderStateUnitTests()
90 private void addMediaPlayerStateUnitTests(TestSuite suite) { in addMediaPlayerStateUnitTests()
107 private void addMediaScannerUnitTests(TestSuite suite) { in addMediaScannerUnitTests()
111 private void addExifInterfaceTests(TestSuite suite) { in addExifInterfaceTests()
DMediaPlayerStressTestRunner.java23 import junit.framework.TestSuite;
28 public TestSuite getAllTests() { in getAllTests()
29 TestSuite suite = new InstrumentationTestSuite(this); in getAllTests()
DMediaFrameworkPowerTestRunner.java21 import junit.framework.TestSuite;
39 public TestSuite getAllTests() { in getAllTests()
40 TestSuite suite = new InstrumentationTestSuite(this); in getAllTests()
DCameraStressTestRunner.java26 import junit.framework.TestSuite;
31 public TestSuite getAllTests() { in getAllTests()
32 TestSuite suite = new InstrumentationTestSuite(this); in getAllTests()
DCamera2InstrumentationTestRunner.java24 import junit.framework.TestSuite;
36 public TestSuite getAllTests() { in getAllTests()
37 TestSuite suite = new InstrumentationTestSuite(this); in getAllTests()
/frameworks/base/test-runner/tests/src/android/test/
DAndroidTestRunnerTest.java26 import junit.framework.TestSuite;
50 mAndroidTestRunner.setTestClassName(TestSuite.class.getName(), null); in testLoadNoTestCases()
56 assertEquals(TestSuite.class.getSimpleName(), mAndroidTestRunner.getTestClassName()); in testLoadNoTestCases()
197 public TestSuite getTestSuite() { in getTestSuite()
198 TestSuite testSuite = new TestSuite(); in getTestSuite()
209 public static TestSuite suite() { in suite()
210 TestSuite testSuite = new TestSuite(); in suite()
218 public static TestSuite suite() { in suite()
219 TestSuite testSuite = new TestSuite(); in suite()
271 } else if (test instanceof TestSuite) { in startTest()
[all …]
DTestCaseUtilTest.java23 import junit.framework.TestSuite;
40 TestSuite testSuite = new TwoTestsInTestSuite(); in testGetTests_ForTestSuiteWithSuiteMethod()
74 assertEquals("", TestCaseUtil.getTestName(new TestSuite())); in testReturnEmptyStringForTestSuiteWithNoName()
98 TestSuite suite = new TestSuite(OneTestTestSuite.class.getName()); in suite()
104 public static class TwoTestsInTestSuite extends TestSuite {
106 TestSuite suite = new TestSuite(TwoTestsInTestSuite.class.getName()); in suite()
DInstrumentationTestRunnerTest.java29 import junit.framework.TestSuite;
71 TestSuite testSuite = new TestSuite(); in testUseSelfAsTestSuiteProviderWhenNoMetaDataOrClassArgument()
87 assertContentsInOrder(ListTestCaseNames.getTestNames((TestSuite) test), in testMultipleTestClass()
189 assertContentsInOrder(ListTestCaseNames.getTestNames((TestSuite) test), in assertTestRunnerCalledWithExpectedParameters()
207 private TestSuite mTestSuite;
208 private TestSuite mDefaultTestSuite;
223 public TestSuite getAllTests() { in getAllTests()
252 public void setAllTestsSuite(TestSuite testSuite) { in setAllTestsSuite()
256 public void setDefaultTestsSuite(TestSuite testSuite) { in setDefaultTestsSuite()
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
DListTestCaseNames.java21 import junit.framework.TestSuite;
28 public static List<String> getTestCaseNames(TestSuite suite) { in getTestCaseNames()
35 } else if (test instanceof TestSuite) { in getTestCaseNames()
36 testCaseNames.addAll(getTestCaseNames((TestSuite) test)); in getTestCaseNames()
45 public static List<TestDescriptor> getTestNames(TestSuite suite) { in getTestNames()
53 } else if (test instanceof TestSuite) { in getTestNames()
54 testNames.addAll(getTestNames((TestSuite) test)); in getTestNames()
/frameworks/base/core/tests/coretests/src/android/graphics/
DGraphicsTests.java19 import junit.framework.TestSuite;
22 public static TestSuite suite() { in suite()
23 TestSuite suite = new TestSuite(GraphicsTests.class.getName()); in suite()
/frameworks/base/test-runner/src/android/test/
DTestCaseUtil.java22 import junit.framework.TestSuite;
67 if (workingTest instanceof TestSuite) { in getTests()
68 TestSuite testSuite = (TestSuite) workingTest; in getTests()
117 } else if (test instanceof TestSuite) { in getTestName()
118 TestSuite testSuite = (TestSuite) test; in getTestName()
/frameworks/base/core/tests/coretests/src/android/content/
DContentTests.java19 import junit.framework.TestSuite;
22 public static TestSuite suite() { in suite()
23 TestSuite suite = new TestSuite(ContentTests.class.getName()); in suite()
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestSuiteBuilder.java29 import junit.framework.TestSuite;
50 private TestSuite rootSuite;
51 private TestSuite suiteForCurrentClass;
87 public TestSuiteBuilder addTestSuite(TestSuite testSuite) { in addTestSuite()
177 public final TestSuite build() { in build()
178 rootSuite = new TestSuite(getSuiteName()); in build()
197 TestSuite suite = new TestSuite(getSuiteName()); in build()
270 suiteForCurrentClass = new TestSuite(parentClassname); in addSuiteIfNecessary()
/frameworks/base/core/tests/coretests/src/android/os/
DOsTests.java19 import junit.framework.TestSuite;
22 public static TestSuite suite() { in suite()
23 TestSuite suite = new TestSuite(OsTests.class.getName()); in suite()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityTests.java19 import junit.framework.TestSuite;
24 public static TestSuite suite() { in suite()
25 TestSuite suite = new TestSuite(ActivityTests.class.getName()); in suite()
/frameworks/base/test-base/src/junit/framework/
DTestSuite.java45 public class TestSuite implements Test { class
119 public TestSuite() {
128 public TestSuite(final Class<?> theClass) {
161 public TestSuite(Class<? extends TestCase> theClass, String name) {
169 public TestSuite(String name) {
177 public TestSuite (Class<?>... classes) {
184 return new TestSuite(each.asSubclass(TestCase.class));
193 public TestSuite(Class<? extends TestCase>[] classes, String name) {
209 addTest(new TestSuite(testClass));
/frameworks/base/core/tests/coretests/src/android/database/
DNewDatabasePerformanceTestSuite.java19 import junit.framework.TestSuite;
21 public class NewDatabasePerformanceTestSuite extends TestSuite {
22 public static TestSuite suite() { in suite()
23 TestSuite suite = in suite()
24 new TestSuite(NewDatabasePerformanceTestSuite.class.getName()); in suite()
/frameworks/base/tests/ProtoInputStreamTests/src/com/android/test/protoinputstream/
DProtoTests.java19 import junit.framework.TestSuite;
22 public static TestSuite suite() { in suite()
23 TestSuite suite = new TestSuite(ProtoTests.class.getName()); in suite()
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/
DPowerTestRunner.java22 import junit.framework.TestSuite;
36 public TestSuite getAllTests() { in getAllTests()
37 TestSuite suite = new InstrumentationTestSuite(this); in getAllTests()
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/examples/
DOuterTest.java22 import junit.framework.TestSuite;
30 public TestSuite buildTestsUnderHereRecursively() { in buildTestsUnderHereRecursively()
34 public TestSuite buildTestsUnderHereWith(TestSuiteBuilder testSuiteBuilder) { in buildTestsUnderHereWith()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerUnitTestRunner.java23 import junit.framework.TestSuite;
34 public TestSuite getAllTests() { in getAllTests()
35 TestSuite suite = new InstrumentationTestSuite(this); in getAllTests()
DWifiAssociationTestRunner.java24 import junit.framework.TestSuite;
39 public TestSuite getAllTests() { in getAllTests()
40 TestSuite suite = new InstrumentationTestSuite(this); in getAllTests()
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
DImageProcessingTestRunner.java23 import junit.framework.TestSuite;
34 public TestSuite getAllTests() { in getAllTests()
35 TestSuite suite = new InstrumentationTestSuite(this); in getAllTests()
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
DSmokeTestRunner.java26 import junit.framework.TestSuite;
44 public TestSuite getAllTests() { in getAllTests()
45 final TestSuite suite = new TestSuite(SUITE_NAME); in getAllTests()
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
DDownloadManagerTestRunner.java25 import junit.framework.TestSuite;
41 public TestSuite getAllTests() { in getAllTests()
42 TestSuite suite = new InstrumentationTestSuite(this); in getAllTests()

12