测试资源
public class TestResource
extends Object
对象 |
↳ | com.android.tradefed.cluster.TestResource |
对 TFC API 返回的 TestResource 消息进行建模的类。
概括
公共方法
来自Json
public static TestResource fromJson (JSONObject json)
来自JsonArray
public static fromJsonArray (JSONArray jsonArray)
解压
public boolean getDecompress ()
获取解压目录
public String getDecompressDir ()
获取解压目录
public File getDecompressDir (File parentDir)
获取解压文件
public getDecompressFiles ()
获取文件
public File getFile (File parentDir)
获取名称
public String getName ()
获取网址
public String getUrl ()
安装邮编
public boolean mountZip ()
toJson
public JSONObject toJson ()