PassingTestFileReporter
public
class
PassingTestFileReporter
extends TestResultListener
implements
ITestInvocationListener
java.lang.Object | ||
↳ | com.android.tradefed.result.TestResultListener | |
↳ | com.android.tradefed.result.PassingTestFileReporter |
Geçen test durumlarının listesini bir test dosyasına kaydeden ITestInvocationListener
Özet
Herkese açık kurucular | |
---|---|
PassingTestFileReporter()
|
Herkese açık yöntemler | |
---|---|
void
|
invocationEnded(long elapsedTime)
Çağrının başarıyla veya bir hata durumu nedeniyle 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)
|
Herkese açık kurucular
PassingTestFileReporter
public PassingTestFileReporter ()
Herkese açık yöntemler
invocationEnded
public void invocationEnded (long elapsedTime)
Çağrının başarıyla 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 geçtiği süre (ms.) |
invocationStarted
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ılır. Raporlamacıların, birden fazla cihaz raporlamasını desteklemek için bu yöntemi geçersiz kılması gerekir.
Parametreler | |
---|---|
context |
IInvocationContext : çağrı hakkında bilgi |
testResult
public void testResult (TestDescription test, TestResult result)
Parametreler | |
---|---|
test |
TestDescription |
result |
TestResult |