PassingTestFileReporter

public class PassingTestFileReporter
extends TestResultListener implements ITestInvocationListener

java.lang.Object
com.android.tradefed.result.TestResultListener
com.android.tradefed.result.PassingTestFileReporter


Bir test dosyasına geçen test durumlarının listesini kaydeden bir ITestInvocationListener

Özet

kamu inşaatçılar

PassingTestFileReporter ()

Genel yöntemler

void invocationEnded (long elapsedTime)

Başarıyla 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

PassingTestFileReporter

public PassingTestFileReporter ()

Genel yöntemler

Çağrı Sona Erdi

public void invocationEnded (long elapsedTime)

Başarıyla 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. Raporlayıcıların, birden fazla cihaz raporlamasını desteklemek için bu yöntemi geçersiz kılmaları gerekir.

parametreler
context IInvocationContext : çağrı hakkında bilgi

test sonucu

public void testResult (TestDescription test, 
                TestResult result)

parametreler
test TestDescription

result TestResult