TestSonucuDinleyici
public abstract class TestResultListener
extends Object
implements ITestLifeCycleReceiver
java.lang.Object |
↳ | com.android.tradefed.result.TestResultListener |
Bilinen doğrudan alt sınıflar |
Yalnızca bireysel test sonuçlarına önem veren uygulayıcılar için ITestLifecycleListener'ın basitleştirilmesi.
Çeşitli yaşam döngüsü olaylarını bir testResult yöntemine kadar filtreler.
İş parçacığı açısından güvenli DEĞİLDİR ve özellikle ITestLifecycleListener olaylarının sırayla alındığını varsayar.
Özet
Genel yöntemler |
---|
final void | testAssumptionFailure (TestDescription test, String trace) |
final void | testEnded (TestDescription test, testMetrics) testEnded (TestDescription test, testMetrics) |
final void | testEnded (TestDescription test, long endTime, testMetrics) testEnded (TestDescription test, long endTime, testMetrics) |
final void | testFailed (TestDescription test, String trace) |
final void | testIgnored (TestDescription test) |
abstract void | testResult (TestDescription test, TestResult result) |
void | testRunEnded (long elapsedTimeMillis, runMetrics) testRunEnded (long elapsedTimeMillis, runMetrics) |
final void | testStarted (TestDescription test, long startTime) |
final void | testStarted (TestDescription test) |
Kamu inşaatçıları
TestSonucuDinleyici
public TestResultListener ()
Genel yöntemler
testVarsayımBaşarısızlık
public final void testAssumptionFailure (TestDescription test,
String trace)
Parametreler |
---|
test | TestDescription |
trace | String |
testSonlandı
public final void testEnded (TestDescription test,
testMetrics)
Parametreler |
---|
test | TestDescription |
testMetrics | |
testSonlandı
public final void testEnded (TestDescription test,
long endTime,
testMetrics)
Parametreler |
---|
test | TestDescription |
endTime | long |
testMetrics | |
test başarısız
public final void testFailed (TestDescription test,
String trace)
Parametreler |
---|
test | TestDescription |
trace | String |
testYoksayıldı
public final void testIgnored (TestDescription test)
Parametreler |
---|
test | TestDescription |
test sonucu
public abstract void testResult (TestDescription test,
TestResult result)
Parametreler |
---|
test | TestDescription |
result | TestResult |
testRunEnded
public void testRunEnded (long elapsedTimeMillis,
runMetrics)
Parametreler |
---|
elapsedTimeMillis | long |
runMetrics | |
testBaşladı
public final void testStarted (TestDescription test,
long startTime)
Parametreler |
---|
test | TestDescription |
startTime | long |
testBaşladı
public final void testStarted (TestDescription test)
Parametreler |
---|
test | TestDescription |