AdbStopServerPreparer

public class AdbStopServerPreparer
extends BaseTargetPreparer

java.lang.オブジェクト
com.android.tradefed.targetprep.BaseTargetPreparer
com.android.tradefed.targetprep.adb.AdbStopServerPreparer


adb テストの実行前後にホスト上の adb サーバーを停止するターゲット プリペアラー。

このプリペアラーはホスト上で adb を停止および再起動するため、注意して使用する必要があります。通常、他のテストが同時に実行されるのを避けるために、 SemaphoreTokenTargetPreparerと緊密に連携する必要があります。

まとめ

田畑

public static final String ADB_BINARY_KEY

パブリックコンストラクター

AdbStopServerPreparer ()

パブリックメソッド

void setUp ( TestInformation testInfo)

void tearDown ( TestInformation testInfo, Throwable e)

保護されたメソッド

File findAdbLog ()

田畑

ADB_BINARY_KEY

public static final String ADB_BINARY_KEY

パブリックコンストラクター

AdbStopServerPreparer

public AdbStopServerPreparer ()

パブリックメソッド

設定

public void setUp (TestInformation testInfo)

パラメーター
testInfo TestInformation

投げる
BuildError
DeviceNotAvailableException
TargetSetupError

取り壊す

public void tearDown (TestInformation testInfo, 
                Throwable e)

パラメーター
testInfo TestInformation

e Throwable

投げる
DeviceNotAvailableException

保護されたメソッド

findAdbLog

protected File findAdbLog ()

戻り値
File