Code example for InstrumentationTestSuite

Methods: addTestSuite

0
 
    @Override 
    public TestSuite getAllTests() {
        TestSuite suite = new InstrumentationTestSuite(this);
        suite.addTestSuite(CameraActivityTest.class);
        suite.addTestSuite(CameraTest.class);
        suite.addTestSuite(ImageCaptureIntentTest.class);
        suite.addTestSuite(VideoCaptureIntentTest.class);
        suite.addTestSuite(CameraUnitTest.class);
        return suite;
    } 
 
    @Override 
    public ClassLoader getLoader() {
        return CameraTestRunner.class.getClassLoader();
    } 
}