テストコンテキスト

public class TestContext
extends Object

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


TFC APIのTestContextメッセージをモデル化するクラス。

TestContext メッセージは、同じテスト コマンドの複数の試行にわたって渡されるコンテキスト情報を保存および取得するために使用されます。

まとめ

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

TestContext ()

パブリックメソッド

void addEnvVars ( envVars) addEnvVars ( envVars)
void addTestResource ( TestResource testResource)
boolean equals (Object o)
static TestContext fromJson (JSONObject json)
String getCommandLine ()
getEnvVars ()
getTestResources ()
void setCommandLine (String commandLine)
JSONObject toJson ()
String toString ()

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

テストコンテキスト

public TestContext ()

パブリックメソッド

addEnvVars

public void addEnvVars ( envVars)

パラメーター
envVars

addTestResource

public void addTestResource (TestResource testResource)

パラメーター
testResource TestResource

等しい

public boolean equals (Object o)

パラメーター
o Object

戻り値
boolean

fromJson

public static TestContext fromJson (JSONObject json)

パラメーター
json JSONObject

戻り値
TestContext

投げる
JSONException

getコマンドライン

public String getCommandLine ()

戻り値
String

getEnvVars

public  getEnvVars ()

戻り値

getTestResources

public  getTestResources ()

戻り値

setコマンドライン

public void setCommandLine (String commandLine)

パラメーター
commandLine String

toJson

public JSONObject toJson ()

戻り値
JSONObject

投げる
JSONException

toString

public String toString ()

戻り値
String