FileDocCategorySizeDatePackage
LifecycleTest.javaAPI DocAndroid 5.1 API3332Thu Mar 12 22:22:12 GMT 2015android.app.activity

LifecycleTest

public class LifecycleTest extends ActivityTestsBase

Fields Summary
private android.content.Intent
mTopIntent
private android.content.Intent
mTabIntent
Constructors Summary
Methods Summary
protected voidsetUp()

        super.setUp();
        mTopIntent = mIntent;
        mTabIntent = new Intent(mContext, LaunchpadTabActivity.class);
        mTabIntent.putExtra("tab", new ComponentName(mContext,
                LaunchpadActivity.class));
    
public voidtestBasic()

        mIntent = mTopIntent;
        runLaunchpad(LaunchpadActivity.LIFECYCLE_BASIC);
    
public voidtestDialog()

        mIntent = mTopIntent;
        runLaunchpad(LaunchpadActivity.LIFECYCLE_DIALOG);
    
public voidtestFinishCreate()

        mIntent = mTopIntent;
        runLaunchpad(LaunchpadActivity.LIFECYCLE_FINISH_CREATE);
    
public voidtestFinishStart()

        mIntent = mTopIntent;
        runLaunchpad(LaunchpadActivity.LIFECYCLE_FINISH_START);
    
public voidtestScreen()

        mIntent = mTopIntent;
        runLaunchpad(LaunchpadActivity.LIFECYCLE_SCREEN);
    
public voidtestTabBasic()

        mIntent = mTabIntent;
        runLaunchpad(LaunchpadActivity.LIFECYCLE_BASIC);
    
public voidtestTabDialog()

        mIntent = mTabIntent;
        runLaunchpad(LaunchpadActivity.LIFECYCLE_DIALOG);
    
public voidtestTabFinishCreate()

        mIntent = mTabIntent;
        runLaunchpad(LaunchpadActivity.LIFECYCLE_FINISH_CREATE);
    
public voidtestTabFinishStart()

        mIntent = mTabIntent;
        runLaunchpad(LaunchpadActivity.LIFECYCLE_FINISH_START);
    
public voidtestTabScreen()

        mIntent = mTabIntent;
        runLaunchpad(LaunchpadActivity.LIFECYCLE_SCREEN);