測試資源
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 ()