TestContesto
public class TestContext
extends Object
java.lang.Oggetto |
↳ | com.android.tradefed.cluster.TestContext |
Una classe per modellare un messaggio TestContext dell'API TFC.
Un messaggio TestContext viene utilizzato per archiviare e recuperare le informazioni contestuali passate attraverso più tentativi dello stesso comando di test.
Riepilogo
Costruttori pubblici
TestContesto
public TestContext ()
Metodi pubblici
addEnvVars
public void addEnvVars ( envVars)
addTestResource
public void addTestResource (TestResource testResource)
Parametri |
---|
testResource | TestResource |
equivale
public boolean equals (Object o)
fromJson
public static TestContext fromJson (JSONObject json)
Parametri |
---|
json | JSONObject |
getCommandLine
public String getCommandLine ()
getEnvVars
public getEnvVars ()
getTestResources
public getTestResources ()
setCommandLine
public void setCommandLine (String commandLine)
Parametri |
---|
commandLine | String |
toJson
public JSONObject toJson ()
accordare
public String toString ()