TestContext

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 ()

공개 생성자

TestContext

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

getCommandLine

public String getCommandLine ()

보고
String

getEnvVars

public  getEnvVars ()

보고

getTestResources

public  getTestResources ()

보고

setCommandLine

public void setCommandLine (String commandLine)

매개변수
commandLine String

toJson

public JSONObject toJson ()

보고
JSONObject

던지기
JSONException

toString

public String toString ()

보고
String