ローカルエミュレータの起動
public class LocalEmulatorLaunch
extends BaseEmulatorPreparer
java.lang.オブジェクト | |||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | ||
↳ | com.android.tradefed.targetprep.BaseEmulatorPreparer | ||
↳ | com.android.tradefed.targetprep.LocalEmulatorLaunch |
Android ビルド環境からローカルでエミュレータを起動する TargetPreparer。
これを含む構成を実行する前に、エミュレータ スナップショット (trafed runエミュレータ/generate-snapshot など) を準備することを強くお勧めします。
まとめ
パブリックコンストラクター | |
---|---|
LocalEmulatorLaunch () |
パブリックメソッド | |
---|---|
void | setUp ( TestInformation testInformation) |
void | tearDown ( TestInformation testInformation, Throwable e) |
パブリックコンストラクター
ローカルエミュレータの起動
public LocalEmulatorLaunch ()
パブリックメソッド
設定
public void setUp (TestInformation testInformation)
パラメーター | |
---|---|
testInformation | TestInformation |
投げる | |
---|---|
BuildError | |
DeviceNotAvailableException | |
TargetSetupError |
取り壊す
public void tearDown (TestInformation testInformation, Throwable e)
パラメーター | |
---|---|
testInformation | TestInformation |
e | Throwable |
投げる | |
---|---|
DeviceNotAvailableException |