TextResultReporter
public
class
TextResultReporter
extends InvocationToJUnitResultForwarder
implements
ITestInvocationListener,
ILogSaverListener
| java.lang.Object | ||
| ↳ | com.android.tradefed.result.InvocationToJUnitResultForwarder | |
| ↳ | com.android.tradefed.result.TextResultReporter | |
דיווח על תוצאות בדיקה שמעביר את התוצאות למדפסת התוצאות בטקסט של JUnit.
סיכום
קונסטרוקטורים גלויים לכולם | |
|---|---|
TextResultReporter()
יצירת |
|
שיטות ציבוריות | |
|---|---|
void
|
testAssumptionFailure(TestDescription testId, String trace)
|
void
|
testEnded(TestDescription testId,
משנה את ההורה כדי להדפיס באופן מפורש את מדדי הבדיקה. |
void
|
testFailed(TestDescription testId, String trace)
משנה את ההורה כדי להדפיס בבירור את הכשלונות. |
void
|
testLog(String dataName, LogDataType dataType, InputStreamSource dataStream)
|
void
|
testLogSaved(String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile)
|
void
|
testRunEnded(long elapsedTime,
משנה את ההורה כדי להדפיס מדדים באופן מפורש. |
קונסטרוקטורים גלויים לכולם
שיטות ציבוריות
testAssumptionFailure
public void testAssumptionFailure (TestDescription testId,
String trace)| פרמטרים | |
|---|---|
testId |
TestDescription |
trace |
String |
testEnded
public void testEnded (TestDescription testId,
metrics) משנה את ההורה כדי להדפיס באופן מפורש את מדדי הבדיקה.
| פרמטרים | |
|---|---|
testId |
TestDescription |
metrics |
|
testFailed
public void testFailed (TestDescription testId,
String trace)משנה את ההורה כדי להדפיס בבירור את הכשלונות. כדי לעשות זאת, ה-ResultPrinter מסתמך על הקריאה של ה-runner ל-print בסוף הרצת הבדיקה.
| פרמטרים | |
|---|---|
testId |
TestDescription |
trace |
String |
testLog
public void testLog (String dataName,
LogDataType dataType,
InputStreamSource dataStream)
| פרמטרים | |
|---|---|
dataName |
String |
dataType |
LogDataType |
dataStream |
InputStreamSource |
testLogSaved
public void testLogSaved (String dataName,
LogDataType dataType,
InputStreamSource dataStream,
LogFile logFile)
| פרמטרים | |
|---|---|
dataName |
String |
dataType |
LogDataType |
dataStream |
InputStreamSource |
logFile |
LogFile |
testRunEnded
public void testRunEnded (long elapsedTime,
metrics) משנה את ההורה כדי להדפיס מדדים באופן מפורש.
| פרמטרים | |
|---|---|
elapsedTime |
long |
metrics |
|