use of junit.framework.TestSuite in project android_frameworks_base by DirtyUnicorns.
the class TestCaseUtilTest method testGetTestCaseNamesForTestSuiteWithSuiteMethod.
public void testGetTestCaseNamesForTestSuiteWithSuiteMethod() throws Exception {
TestSuite testSuite = new TwoTestsInTestSuite();
List<String> testCaseNames = TestCaseUtil.getTestCaseNames(testSuite, false);
assertEquals(2, testCaseNames.size());
assertTrue(testCaseNames.get(0).endsWith("OneTestTestCase"));
assertTrue(testCaseNames.get(1).endsWith("OneTestTestSuite"));
}
use of junit.framework.TestSuite in project android_frameworks_base by DirtyUnicorns.
the class PowerTestRunner method getAllTests.
@Override
public TestSuite getAllTests() {
TestSuite suite = new InstrumentationTestSuite(this);
suite.addTestSuite(PowerMeasurement.class);
return suite;
}
use of junit.framework.TestSuite in project android_frameworks_base by DirtyUnicorns.
the class NewDatabasePerformanceTestSuite method suite.
public static TestSuite suite() {
TestSuite suite = new TestSuite(NewDatabasePerformanceTestSuite.class.getName());
suite.addTestSuite(NewDatabasePerformanceTests.Insert1000.class);
suite.addTestSuite(NewDatabasePerformanceTests.InsertIndexed1000.class);
suite.addTestSuite(NewDatabasePerformanceTests.Select100.class);
suite.addTestSuite(NewDatabasePerformanceTests.SelectStringComparison100.class);
suite.addTestSuite(NewDatabasePerformanceTests.SelectIndex100.class);
suite.addTestSuite(NewDatabasePerformanceTests.InnerJoin100.class);
suite.addTestSuite(NewDatabasePerformanceTests.InnerJoinOneSide100.class);
suite.addTestSuite(NewDatabasePerformanceTests.InnerJoinNoIndex100.class);
suite.addTestSuite(NewDatabasePerformanceTests.SelectSubQIndex100.class);
suite.addTestSuite(NewDatabasePerformanceTests.SelectIndexStringComparison100.class);
suite.addTestSuite(NewDatabasePerformanceTests.SelectInteger100.class);
suite.addTestSuite(NewDatabasePerformanceTests.SelectString100.class);
suite.addTestSuite(NewDatabasePerformanceTests.SelectIntegerIndex100.class);
suite.addTestSuite(NewDatabasePerformanceTests.SelectIndexString100.class);
suite.addTestSuite(NewDatabasePerformanceTests.SelectStringStartsWith100.class);
suite.addTestSuite(NewDatabasePerformanceTests.DeleteIndexed1000.class);
suite.addTestSuite(NewDatabasePerformanceTests.Delete1000.class);
suite.addTestSuite(NewDatabasePerformanceTests.DeleteWhere1000.class);
suite.addTestSuite(NewDatabasePerformanceTests.DeleteIndexWhere1000.class);
suite.addTestSuite(NewDatabasePerformanceTests.UpdateIndexWhere1000.class);
suite.addTestSuite(NewDatabasePerformanceTests.UpdateWhere1000.class);
suite.addTestSuite(NewDatabasePerformanceTests.InsertInteger10000.class);
suite.addTestSuite(NewDatabasePerformanceTests.InsertIntegerIndex10000.class);
suite.addTestSuite(NewDatabasePerformanceTests.InsertString10000.class);
suite.addTestSuite(NewDatabasePerformanceTests.InsertStringIndexed10000.class);
suite.addTestSuite(NewDatabasePerformanceTests.SelectStringStartsWith10000.class);
suite.addTestSuite(NewDatabasePerformanceTests.SelectStringIndexedStartsWith10000.class);
suite.addTestSuite(NewDatabasePerformanceTests.SelectInteger10000.class);
suite.addTestSuite(NewDatabasePerformanceTests.SelectIntegerIndexed10000.class);
suite.addTestSuite(NewDatabasePerformanceTests.SelectStringContains10000.class);
suite.addTestSuite(NewDatabasePerformanceTests.SelectStringIndexedContains10000.class);
return suite;
}
use of junit.framework.TestSuite in project android_frameworks_base by DirtyUnicorns.
the class OsTests method suite.
public static TestSuite suite() {
TestSuite suite = new TestSuite(OsTests.class.getName());
suite.addTestSuite(AidlTest.class);
suite.addTestSuite(BroadcasterTest.class);
suite.addTestSuite(FileObserverTest.class);
suite.addTestSuite(IdleHandlerTest.class);
suite.addTestSuite(MessageQueueTest.class);
suite.addTestSuite(MessengerTest.class);
suite.addTestSuite(PatternMatcherTest.class);
suite.addTestSuite(SystemPropertiesTest.class);
return suite;
}
use of junit.framework.TestSuite in project android_frameworks_base by DirtyUnicorns.
the class CameraStressTestRunner method getAllTests.
@Override
public TestSuite getAllTests() {
TestSuite suite = new InstrumentationTestSuite(this);
suite.addTestSuite(CameraStressTest.class);
suite.addTestSuite(CameraFunctionalTest.class);
suite.addTestSuite(CameraPairwiseTest.class);
return suite;
}
Aggregations