TestResultListener

public abstract class TestResultListener
extends Object implements ITestLifeCycleReceiver

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


פישוט של ITestLifecycleListener למטמיעים שמתעניינים רק בתוצאות של בדיקות ספציפיות.

הוא מסנן את אירועי מחזור החיים השונים עד לשיטה testResult.

היא לא בטוחה לשרשור, ובמיוחד היא מניחה שהאירועים של ITestLifecycleListener מתקבלים בסדר.

סיכום

קונסטרוקטורים גלויים לכולם

TestResultListener()

שיטות ציבוריות

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)

קונסטרוקטורים גלויים לכולם

TestResultListener

public TestResultListener ()

שיטות ציבוריות

testAssumptionFailure

public final void testAssumptionFailure (TestDescription test, 
                String trace)

פרמטרים
test TestDescription

trace String

testEnded

public final void testEnded (TestDescription test, 
                 testMetrics)

פרמטרים
test TestDescription

testMetrics

testEnded

public final void testEnded (TestDescription test, 
                long endTime, 
                 testMetrics)

פרמטרים
test TestDescription

endTime long

testMetrics

testFailed

public final void testFailed (TestDescription test, 
                String trace)

פרמטרים
test TestDescription

trace String

testIgnored

public final void testIgnored (TestDescription test)

פרמטרים
test TestDescription

testResult

public abstract void testResult (TestDescription test, 
                TestResult result)

פרמטרים
test TestDescription

result TestResult

testRunEnded

public void testRunEnded (long elapsedTimeMillis, 
                 runMetrics)

פרמטרים
elapsedTimeMillis long

runMetrics

testStarted

public final void testStarted (TestDescription test, 
                long startTime)

פרמטרים
test TestDescription

startTime long

testStarted

public final void testStarted (TestDescription test)

פרמטרים
test TestDescription