測試輸出上傳器

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上傳的文件地址