クラスターコマンドランチャー

public class ClusterCommandLauncher
extends Object implements IRemoteTest , IInvocationContextReceiver , IConfigurationReceiver

java.lang.オブジェクト
com.android.tradefed.cluster.ClusterCommandLauncher


サブプロセス TF を介して TFC からコマンドを起動するIRemoteTestクラス。 FIXME: マルチデバイス テストをサポートするにはこれを拡張する必要があります。

まとめ

田畑

public static final String ANDROID_SERIALS

public static final String TEST_WORK_DIR

public static final String TF_DEVICE_COUNT

public static final String TF_JAR_DIR

public static final String TF_PATH

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

ClusterCommandLauncher ()

パブリックメソッド

void run ( TestInformation testInfo, ITestInvocationListener listener)

テストを実行し、結果をリスナーに報告します。

void setConfiguration ( IConfiguration configuration)

使用中のIConfigurationを挿入します。

void setInvocationContext ( IInvocationContext invocationContext)

田畑

ANDROID_SERIALS

public static final String ANDROID_SERIALS

TEST_WORK_DIR

public static final String TEST_WORK_DIR

TF_DEVICE_COUNT

public static final String TF_DEVICE_COUNT

TF_JAR_DIR

public static final String TF_JAR_DIR

TF_パス

public static final String TF_PATH

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

クラスターコマンドランチャー

public ClusterCommandLauncher ()

パブリックメソッド

走る

public void run (TestInformation testInfo, 
                ITestInvocationListener listener)

テストを実行し、結果をリスナーに報告します。

パラメーター
testInfo TestInformation : テストを実行するために役立つ情報を含むTestInformationオブジェクト。

listener ITestInvocationListener : テスト結果のITestInvocationListener

投げる
DeviceNotAvailableException

set構成

public void setConfiguration (IConfiguration configuration)

使用中のIConfigurationを挿入します。

パラメーター
configuration IConfiguration

setInvocationContext

public void setInvocationContext (IInvocationContext invocationContext)

パラメーター
invocationContext IInvocationContext