測試輸出上傳器

public class TestOutputUploader
extends Object

java.lang.Object
com.android.tradefed.cluster.TestOutputUploader


將測試輸出檔案上傳到本機檔案系統、GCS 或 HTTP(S) 端點。

概括

公共構造函數

TestOutputUploader ()

公共方法

void setUploadUrl (String url)
String uploadFile (File file, String destPath)

將檔案上傳到指定的目標路徑(相對於上傳URL)。

公共構造函數

測試輸出上傳器

public TestOutputUploader ()

公共方法

設定上傳地址

public void setUploadUrl (String url)

參數
url String

上傳文件

public String uploadFile (File file, 
                String destPath)

將檔案上傳到指定的目標路徑(相對於上傳URL)。

參數
file File :要上傳的文件

destPath String : 相對目標路徑

退貨
String上傳的文件網址