Code example for InstrumentationTestSuite

Methods: addTestSuite

0
    // time interval (in ms) between two consecutive messages 
    public long mSendInterval = 0;
 
    @Override 
    public TestSuite getAllTests() {
        TestSuite suite = new InstrumentationTestSuite(this);
        // create a test suite 
        suite.addTestSuite(MultiPartSmsTests.class);
        suite.addTestSuite(SmsStressTest.class);
        return suite;
    } 
 
    @Override 
    public ClassLoader getLoader() {
        return SmsTestRunner.class.getClassLoader();
    } 
 
    @Override 
    public void onCreate(Bundle icicle) {
        super.onCreate(icicle);