GeçmeTestDosya Raportör
public class PassingTestFileReporter
extends TestResultListener
implements ITestInvocationListener
java.lang.Nesne | ||
↳ | com.android.tradefed.result.TestResultListener | |
↳ | com.android.tradefed.result.PassingTestFileReporter |
Test senaryolarını geçenlerin listesini bir test dosyasına kaydeden bir ITestInvocationListener
Özet
Kamu inşaatçıları | |
---|---|
PassingTestFileReporter () |
Genel yöntemler | |
---|---|
void | invocationEnded (long elapsedTime) Çağrının başarılı bir şekilde veya bir hata durumu nedeniyle sonlandırıldığını bildirir. |
void | invocationStarted ( IInvocationContext context) Test çağırmanın başladığını bildirir. |
void | testResult ( TestDescription test, TestResult result) |
Kamu inşaatçıları
GeçmeTestDosya Raportör
public PassingTestFileReporter ()
Genel yöntemler
çağrı Bitirildi
public void invocationEnded (long elapsedTime)
Çağrının başarılı bir şekilde veya bir hata durumu nedeniyle sonlandırıldığını bildirir.
TradeFederation çerçevesi tarafından otomatik olarak çağrılır.parametreler | |
---|---|
elapsedTime | long : çağrının ms cinsinden geçen süresi |
çağrıBaşlatıldı
public void invocationStarted (IInvocationContext context)
Test çağırmanın başladığını bildirir.
TradeFederation çerçevesi tarafından otomatik olarak çağrılır. Muhabirlerin, birden fazla cihaz raporlamasını desteklemek için bu yöntemi geçersiz kılması gerekir.
parametreler | |
---|---|
context | IInvocationContext : çağırma hakkında bilgi |
test sonucu
public void testResult (TestDescription test, TestResult result)
parametreler | |
---|---|
test | TestDescription |
result | TestResult |