TestFileReporter'ı Geçme
public class PassingTestFileReporter
extends TestResultListener
implements ITestInvocationListener
java.lang.Object | ||
↳ | com.android.tradefed.result.TestResultListener | |
↳ | com.android.tradefed.result.PassingTestFileReporter |
Geçen test senaryolarının listesini bir test dosyasına kaydeden bir ITestInvocationListener
Özet
Kamu inşaatçıları | |
---|---|
PassingTestFileReporter () |
Genel yöntemler | |
---|---|
void | invocationEnded (long elapsedTime) Başarılı bir şekilde veya bazı hata durumlarından dolayı çağrının sonlandırıldığını bildirir. |
void | invocationStarted ( IInvocationContext context) Test çağrısının başlangıcını bildirir. |
void | testResult ( TestDescription test, TestResult result) |
Kamu inşaatçıları
TestFileReporter'ı Geçme
public PassingTestFileReporter ()
Genel yöntemler
çağırma sona erdi
public void invocationEnded (long elapsedTime)
Başarılı bir şekilde veya bazı hata durumlarından dolayı çağrının sonlandırıldığını bildirir.
TradeFederation çerçevesi tarafından otomatik olarak çağrılacaktı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ğrısının başlangıcını bildirir.
TradeFederation çerçevesi tarafından otomatik olarak çağrılacaktır. Muhabirlerin birden fazla cihaz raporlamasını desteklemek için bu yöntemi geçersiz kılmaları gerekir.
Parametreler | |
---|---|
context | IInvocationContext : çağırma hakkında bilgi |
test sonucu
public void testResult (TestDescription test, TestResult result)
Parametreler | |
---|---|
test | TestDescription |
result | TestResult |