PassingTestFileReporter
public
class
PassingTestFileReporter
extends TestResultListener
implements
ITestInvocationListener
java.lang.Object | ||
↳ | com.android.tradefed.result.TestResultListener | |
↳ | com.android.tradefed.result.PassingTestFileReporter |
ITestInvocationListener
yang menyimpan daftar kasus pengujian yang lulus ke file pengujian
Ringkasan
Konstruktor publik | |
---|---|
PassingTestFileReporter()
|
Metode publik | |
---|---|
void
|
invocationEnded(long elapsedTime)
Melaporkan bahwa pemanggilan telah dihentikan, baik berhasil maupun karena beberapa kondisi error. |
void
|
invocationStarted(IInvocationContext context)
Melaporkan awal pemanggilan pengujian. |
void
|
testResult(TestDescription test, TestResult result)
|
Konstruktor publik
PassingTestFileReporter
public PassingTestFileReporter ()
Metode publik
invocationEnded
public void invocationEnded (long elapsedTime)
Melaporkan bahwa pemanggilan telah dihentikan, baik berhasil maupun karena beberapa kondisi error.
Akan otomatis dipanggil oleh framework TradeFederation.
Parameter | |
---|---|
elapsedTime |
long : waktu yang berlalu dari pemanggilan dalam md |
invocationStarted
public void invocationStarted (IInvocationContext context)
Melaporkan awal pemanggilan pengujian.
Akan otomatis dipanggil oleh framework TradeFederation. Pelapor perlu mengganti metode ini untuk mendukung pelaporan beberapa perangkat.
Parameter | |
---|---|
context |
IInvocationContext : informasi tentang pemanggilan |
testResult
public void testResult (TestDescription test, TestResult result)
Parameter | |
---|---|
test |
TestDescription |
result |
TestResult |