Code example for InstrumentationTestSuite

Methods: addTestSuite

0
    private static final String EXTERNAL_DOWNLOAD_URI_KEY = "external_download_uri";
    public String externalDownloadUriValue = null;
 
    @Override 
    public TestSuite getAllTests() {
        TestSuite suite = new InstrumentationTestSuite(this);
        suite.addTestSuite(DownloadManagerTestApp.class);
        return suite;
    } 
 
    @Override 
    public ClassLoader getLoader() {
        return DownloadManagerTestRunner.class.getClassLoader();
    } 
 
    @Override 
    public void onCreate(Bundle icicle) {
        // Extract the extra params passed in from the bundle... 
        String externalDownloadUri = (String) icicle.get(EXTERNAL_DOWNLOAD_URI_KEY);
        if (externalDownloadUri != null) {
Stop searching for code, let great code find you!  Add Codota to your java IDE