Search in sources :

Example 81 with TestSuite

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

the class Camera2InstrumentationTestRunner method getAllTests.

@Override
public TestSuite getAllTests() {
    TestSuite suite = new InstrumentationTestSuite(this);
    // Note the following test cases are compatible with Camera API2
    suite.addTestSuite(Camera2StillCaptureTest.class);
    suite.addTestSuite(Camera2RecordingTest.class);
    suite.addTestSuite(Camera2ReprocessCaptureTest.class);
    suite.addTestSuite(Camera2CaptureRequestTest.class);
    return suite;
}
Also used : TestSuite(junit.framework.TestSuite) InstrumentationTestSuite(android.test.InstrumentationTestSuite) InstrumentationTestSuite(android.test.InstrumentationTestSuite)

Example 82 with TestSuite

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

the class MediaFrameworkUnitTestRunner method getAllTests.

@Override
public TestSuite getAllTests() {
    TestSuite suite = new InstrumentationTestSuite(this);
    addMediaMetadataRetrieverStateUnitTests(suite);
    addMediaRecorderStateUnitTests(suite);
    addMediaPlayerStateUnitTests(suite);
    addMediaScannerUnitTests(suite);
    addCameraUnitTests(suite);
    addImageReaderTests(suite);
    addExifInterfaceTests(suite);
    return suite;
}
Also used : TestSuite(junit.framework.TestSuite) InstrumentationTestSuite(android.test.InstrumentationTestSuite) InstrumentationTestSuite(android.test.InstrumentationTestSuite)

Example 83 with TestSuite

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

the class MediaPlayerStressTestRunner method getAllTests.

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

Example 84 with TestSuite

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

the class MediaRecorderStressTestRunner method getAllTests.

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

Example 85 with TestSuite

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

the class ContentTests method suite.

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

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