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