本機模擬器快照
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 |