ConsoleResultReporter

public class ConsoleResultReporter
extends TestResultListener implements ILogSaverListener, ITestInvocationListener

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


דיווח על תוצאות כדי להדפיס את תוצאות הבדיקה במסוף.

הדפסה של כל הרצות הבדיקה, כל מקרה הבדיקה, מדדי הבדיקה, יומני הבדיקה ומיקומי קובצי הבדיקה.

סיכום

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

ConsoleResultReporter()

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

void invocationEnded(long elapsedTime)

void invocationStarted(IInvocationContext context)
void logAssociation(String dataName, LogFile logFile)

void testLogSaved(String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile)

void testResult(TestDescription test, TestResult result)
void testRunEnded(long elapsedTimeMillis, metrics)
void testRunFailed(FailureDescription failure)
void testRunFailed(String errorMessage)
void testRunStarted(String runName, int testCount)

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

ConsoleResultReporter

public ConsoleResultReporter ()

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

invocationEnded

public void invocationEnded (long elapsedTime)

פרמטרים
elapsedTime long

invocationStarted

public void invocationStarted (IInvocationContext context)

פרמטרים
context IInvocationContext

logAssociation

public void logAssociation (String dataName, 
                LogFile logFile)

פרמטרים
dataName String

logFile LogFile

testLogSaved

public void testLogSaved (String dataName, 
                LogDataType dataType, 
                InputStreamSource dataStream, 
                LogFile logFile)

פרמטרים
dataName String

dataType LogDataType

dataStream InputStreamSource

logFile LogFile

testResult

public void testResult (TestDescription test, 
                TestResult result)

פרמטרים
test TestDescription

result TestResult

testRunEnded

public void testRunEnded (long elapsedTimeMillis, 
                 metrics)

פרמטרים
elapsedTimeMillis long

metrics

testRunFailed

public void testRunFailed (FailureDescription failure)

פרמטרים
failure FailureDescription

testRunFailed

public void testRunFailed (String errorMessage)

פרמטרים
errorMessage String

testRunStarted

public void testRunStarted (String runName, 
                int testCount)

פרמטרים
runName String

testCount int