测试上下文
public class TestContext
extends Object
java.lang.Object |
↳ | com.android.tradefed.cluster.TestContext |
一个为TFC API的TestContext消息建模的类。
TestContext消息用于存储和检索在同一测试命令的多次尝试之间传递的上下文信息。
概要
公共建设者
测试上下文
public TestContext ()
公开方法
addEnvVars
public void addEnvVars ( envVars)
addTestResource
public void addTestResource (TestResource testResource)
参量 |
---|
testResource | TestResource |
等于
public boolean equals (Object o)
来自杰森
public static TestContext fromJson (JSONObject json)
getCommandLine
public String getCommandLine ()
getEnvVars
public getEnvVars ()
getTestResources
public getTestResources ()
setCommandLine
public void setCommandLine (String commandLine)
托森
public JSONObject toJson ()
toString
public String toString ()