测试资源
public class TestResource
extends Object
java.lang.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 ()
安装Zip
public boolean mountZip ()
托森
public JSONObject toJson ()