Search in sources :

Example 16 with TestSuite

use of junit.framework.TestSuite in project android_frameworks_base by ParanoidAndroid.

the class WifiAssociationTestRunner method getAllTests.

@Override
public TestSuite getAllTests() {
    TestSuite suite = new InstrumentationTestSuite(this);
    suite.addTestSuite(WifiAssociationTest.class);
    return suite;
}
Also used : TestSuite(junit.framework.TestSuite) InstrumentationTestSuite(android.test.InstrumentationTestSuite) InstrumentationTestSuite(android.test.InstrumentationTestSuite)

Example 17 with TestSuite

use of junit.framework.TestSuite in project android_frameworks_base by ParanoidAndroid.

the class ConnectivityManagerTestRunner method getAllTests.

@Override
public TestSuite getAllTests() {
    TestSuite suite = new InstrumentationTestSuite(this);
    suite.addTestSuite(ConnectivityManagerMobileTest.class);
    suite.addTestSuite(WifiConnectionTest.class);
    return suite;
}
Also used : TestSuite(junit.framework.TestSuite) InstrumentationTestSuite(android.test.InstrumentationTestSuite) InstrumentationTestSuite(android.test.InstrumentationTestSuite)

Example 18 with TestSuite

use of junit.framework.TestSuite in project android_frameworks_base by ParanoidAndroid.

the class ActivityTests method suite.

public static TestSuite suite() {
    TestSuite suite = new TestSuite(ActivityTests.class.getName());
    suite.addTestSuite(BroadcastTest.class);
    suite.addTestSuite(IntentSenderTest.class);
    suite.addTestSuite(ActivityManagerTest.class);
    suite.addTestSuite(LaunchTest.class);
    suite.addTestSuite(LifecycleTest.class);
    suite.addTestSuite(ServiceTest.class);
    suite.addTestSuite(MetaDataTest.class);
    // Remove temporarily until bug 1171309 is fixed.
    //suite.addTestSuite(SubActivityTest.class);
    suite.addTestSuite(SetTimeZonePermissionsTest.class);
    return suite;
}
Also used : TestSuite(junit.framework.TestSuite)

Example 19 with TestSuite

use of junit.framework.TestSuite in project android_frameworks_base by ParanoidAndroid.

the class GraphicsTests method suite.

public static TestSuite suite() {
    TestSuite suite = new TestSuite(GraphicsTests.class.getName());
    suite.addTestSuite(BitmapTest.class);
    suite.addTestSuite(TypefaceTest.class);
    return suite;
}
Also used : TestSuite(junit.framework.TestSuite)

Example 20 with TestSuite

use of junit.framework.TestSuite in project android_frameworks_base by ParanoidAndroid.

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;
}
Also used : TestSuite(junit.framework.TestSuite) InstrumentationTestSuite(android.test.InstrumentationTestSuite) InstrumentationTestSuite(android.test.InstrumentationTestSuite)

Aggregations

TestSuite (junit.framework.TestSuite)1380 InstrumentationTestSuite (android.test.InstrumentationTestSuite)100 Test (junit.framework.Test)63 GwtIncompatible (com.google.common.annotations.GwtIncompatible)54 JUnit4TestAdapter (junit.framework.JUnit4TestAdapter)50 TestCase (junit.framework.TestCase)48 Entry (java.util.Map.Entry)36 TestResult (junit.framework.TestResult)33 List (java.util.List)28 Set (java.util.Set)27 TestProjectSetup (org.eclipse.wst.jsdt.web.ui.tests.internal.TestProjectSetup)27 ArrayList (java.util.ArrayList)25 ListTestSuiteBuilder (com.google.common.collect.testing.ListTestSuiteBuilder)24 TestStringSetGenerator (com.google.common.collect.testing.TestStringSetGenerator)24 Map (java.util.Map)19 File (java.io.File)16 Method (java.lang.reflect.Method)16 HashSet (java.util.HashSet)13 Helpers.mapEntry (com.google.common.collect.testing.Helpers.mapEntry)12 TestStringMultisetGenerator (com.google.common.collect.testing.google.TestStringMultisetGenerator)12