FileDocCategorySizeDatePackage
SmokeTestActivity.javaAPI DocAndroid 1.5 API1602Wed May 06 22:42:02 BST 2009com.android.smoketest

SmokeTestActivity

public class SmokeTestActivity extends android.app.LauncherActivity
Initial launcher for UI access to smoke tests. This does not actually launch the tests, it simply provides manual access to the various UI activities that are used by the tests. To run all of the tests in this suite: adb shell am instrument \ -w com.android.smoketest/.tests.SmokeTestInstrumentationTestRunner

Fields Summary
Constructors Summary
Methods Summary
protected android.content.IntentgetTargetIntent()

        // TODO: partition into categories by label like the sample code app
        Intent targetIntent = new Intent(Intent.ACTION_MAIN, null);
        // TODO: Do we add a new top-level intent?  Or just leave it hardcoded like this?
        targetIntent.addCategory("android.intent.category.SMOKETEST_INSTRUMENTATION_TEST");
        targetIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
        return targetIntent;