FileDocCategorySizeDatePackage
LaunchTest.javaAPI DocAndroid 5.1 API2604Thu Mar 12 22:22:12 GMT 2015android.app.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);