Code example for InstrumentationTestSuite

Methods: addTestSuite

    private static final String EXTERNAL_DOWNLOAD_URI_KEY = "external_download_uri";
    public String externalDownloadUriValue = null;
    public TestSuite getAllTests() {
        TestSuite suite = new InstrumentationTestSuite(this);
        return suite;
    public ClassLoader getLoader() {
        return DownloadManagerTestRunner.class.getClassLoader();
    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) {
Experience pair programming with AI  Get Codota for Java