TestOutputUploader

public class TestOutputUploader
extends Object

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


Test çıkışı dosyalarını yerel dosya sistemine, GCS'ye veya bir HTTP(S) uç noktasına yükler.

Özet

Herkese açık oluşturucular

TestOutputUploader()

Herkese açık yöntemler

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

Belirtilen hedef yola (yükleme URL'sine göre) bir dosya yükleyin.

Herkese açık oluşturucular

TestOutputUploader

public TestOutputUploader ()

Herkese açık yöntemler

setUploadUrl

public void setUploadUrl (String url)

Parametreler
url String

Verdiği hatalar
MalformedURLException

uploadFile

public String uploadFile (File file, 
                String destPath)

Belirtilen hedef yola (yükleme URL'sine göre) bir dosya yükleyin.

Parametreler
file File: Yüklenecek dosya

destPath String: göreli hedef yolu

İadeler
String yüklenen dosyanın URL'si

Verdiği hatalar
IOException