本地模拟器快照

public class LocalEmulatorSnapshot
extends BaseEmulatorPreparer

java.lang.Object
com.android.tradefed.targetprep.BaseTargetPreparer
com.android.tradefed.targetprep.BaseEmulatorPreparer
com.android.tradefed.targetprep.LocalEmulatorSnapshot


TargetPreparer 用于从 Android 构建/开发环境生成干净的模拟器快照

概括

公共构造函数

LocalEmulatorSnapshot ()

公共方法

void setUp ( TestInformation testInformation)
void tearDown ( TestInformation testInformation, Throwable e)

公共构造函数

本地模拟器快照

public LocalEmulatorSnapshot ()

公共方法

设置

public void setUp (TestInformation testInformation)

参数
testInformation TestInformation

投掷
BuildError
DeviceNotAvailableException
TargetSetupError

拆除

public void tearDown (TestInformation testInformation, 
                Throwable e)

参数
testInformation TestInformation

e Throwable

投掷
DeviceNotAvailableException