FileDocCategorySizeDatePackage
LaunchTest.javaAPI DocAndroid 1.5 API2615Wed May 06 22:42:02 BST 2009com.android.unit_tests.activity

LaunchTest

public class LaunchTest extends ActivityTestsBase

Fields Summary
Constructors Summary
Methods Summary
public voidtestClearTopInCreate()

        mIntent.putExtra("component", new ComponentName(getContext(), ClearTop.class));
        runLaunchpad(LaunchpadActivity.LAUNCH);
    
public voidtestClearTopWhileResumed()

        mIntent.putExtra("component", new ComponentName(getContext(), ClearTop.class));
        mIntent.putExtra(ClearTop.WAIT_CLEAR_TASK, true);
        runLaunchpad(LaunchpadActivity.LAUNCH);
    
public voidtestColdActivity()

        mIntent.putExtra("component", new ComponentName(getContext(), TestedActivity.class));
        runLaunchpad(LaunchpadActivity.LAUNCH);
    
public voidtestColdScreen()

        mIntent.putExtra("component", new ComponentName(getContext(), TestedScreen.class));
        runLaunchpad(LaunchpadActivity.LAUNCH);
    
public voidtestForwardResult()

        runLaunchpad(LaunchpadActivity.FORWARD_RESULT);
    
public voidtestLocalActivity()

        mIntent.putExtra("component", new ComponentName(getContext(), LocalActivity.class));
        runLaunchpad(LaunchpadActivity.LAUNCH);
    
public voidtestLocalScreen()

        mIntent.putExtra("component", new ComponentName(getContext(), LocalScreen.class));
        runLaunchpad(LaunchpadActivity.LAUNCH);
    
public voidxxtestBadParcelable()

        // All we really care about for this test is that the system
        // doesn't crash.
        runLaunchpad(LaunchpadActivity.BAD_PARCELABLE);