ExecutableHostTest

public class ExecutableHostTest
extends ExecutableBaseTest

java.lang.Object
com.android.tradefed.testtype.binary.ExecutableBaseTest
com.android.tradefed.testtype.binary.ExecutableHostTest


ホストで実行されている実行可能ファイルのテスト ランナー。ホスト バイナリがデバイスと通信する可能性があるため、ランナーはIDeviceTestを実装します。受信したデバイスがStubDeviceでない場合、シリアルはバイナリに渡されて使用されます。

まとめ

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

ExecutableHostTest ()

公開メソッド

String findBinary (String binary)

バイナリを検索して実行できるようにします。

void runBinary (String binaryPath, ITestInvocationListener listener, TestDescription description)

指定されたパスでバイナリを実際に実行します。

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

ExecutableHostTest

public ExecutableHostTest ()

公開メソッド

findBinary

public String findBinary (String binary)

バイナリを検索して実行できるようにします。

パラメーター
binary String : バイナリのパスまたは単にバイナリ名。

戻り値
Stringバイナリへのパス、または見つからない場合は null。

runBinary

public void runBinary (String binaryPath, 
                ITestInvocationListener listener, 
                TestDescription description)

指定されたパスでバイナリを実際に実行します。

パラメーター
binaryPath String : バイナリのパス。

listener ITestInvocationListener : 結果を報告するリスナー。

description TestDescription : 進行中のテスト。

スロー
DeviceNotAvailableException