Test resultListener
public
abstract
class
TestResultListener
extends Object
implements
ITestLifeCycleReceiver
JavaScript.lang.Object
|
↳ |
com.android.tradefed.result.TestListener
|
מחלקות משנה ישירות ידועות
|
זהו האופן שבו הכלי ITestLifecycleListener הוא פשוט יותר למשתמשים שמתמקדים רק בבדיקה מסוימת
תוצאות.
היא מסננת את האירועים השונים במחזור החיים לשיטה test result.
הוא לא בטוח לשרשורים, ובעיקר מניח שאירועי ITestLifecycleListener
שהתקבלו לפי הסדר.
סיכום
שיטות ציבוריות |
final
void
|
testAssumptionFailure(TestDescription test, String trace)
|
final
void
|
testEnded(TestDescription test, testMetrics)
|
final
void
|
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)
|
final
void
|
testStarted(TestDescription test, long startTime)
|
final
void
|
testStarted(TestDescription test)
|
בנאים ציבוריים
Test resultListener
public TestResultListener ()
שיטות ציבוריות
testAssumptionFailure
public final void testAssumptionFailure (TestDescription test,
String trace)
פרמטרים |
test |
TestDescription |
trace |
String |
הבדיקה הסתיימה
public final void testEnded (TestDescription test,
testMetrics)
פרמטרים |
test |
TestDescription |
testMetrics |
|
הבדיקה הסתיימה
public final void testEnded (TestDescription test,
long endTime,
testMetrics)
פרמטרים |
test |
TestDescription |
endTime |
long |
testMetrics |
|
הבדיקה נכשלה
public final void testFailed (TestDescription test,
String trace)
פרמטרים |
test |
TestDescription |
trace |
String |
התעלמות מבדיקה
public final void testIgnored (TestDescription test)
פרמטרים |
test |
TestDescription |
תוצאת בדיקה
public abstract void testResult (TestDescription test,
TestResult result)
פרמטרים |
test |
TestDescription |
result |
TestResult |
הבדיקה הסתיימה
public void testRunEnded (long elapsedTimeMillis,
runMetrics)
פרמטרים |
elapsedTimeMillis |
long |
runMetrics |
|
הבדיקה התחילה
public final void testStarted (TestDescription test,
long startTime)
פרמטרים |
test |
TestDescription |
startTime |
long |
הבדיקה התחילה
public final void testStarted (TestDescription test)
פרמטרים |
test |
TestDescription |