Search in sources :

Example 96 with InstrumentationTestSuite

use of android.test.InstrumentationTestSuite in project android_frameworks_base by crdroidandroid.

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 97 with InstrumentationTestSuite

use of android.test.InstrumentationTestSuite in project android_frameworks_base by crdroidandroid.

the class PowerTestRunner method getAllTests.

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

Aggregations

InstrumentationTestSuite (android.test.InstrumentationTestSuite)97 TestSuite (junit.framework.TestSuite)97