Code example for InstrumentationTestSuite

Methods: addTestSuite

0
 
public class MusicPlayerStressTestRunner extends InstrumentationTestRunner {
 
  @Override 
    public TestSuite getAllTests() {
      TestSuite suite = new InstrumentationTestSuite(this);  
      //suite.addTestSuite(MusicPlaybackStress.class); 
      suite.addTestSuite(AlbumsPlaybackStress.class);
      return suite;
    } 
 
    @Override 
    public ClassLoader getLoader() {
      return MusicPlayerStressTestRunner.class.getClassLoader();
    } 
} 
 
Stop searching for code, let great code find you!  Add Codota to your java IDE