उपप्रक्रियापरिणामरिपोर्टर
public class SubprocessResultsReporter
extends Object
implements ITestInvocationListener, ILogSaverListener, ISupportGranularResults
java.lang.ऑब्जेक्ट |
↳ | com.android.tradefed.result.SubprocessResultsरिपोर्टर |
ज्ञात प्रत्यक्ष उपवर्ग लिगेसीसबप्रोसेसरिजल्ट्सरिपोर्टर | उपप्रक्रिया परिणाम रिपोर्टर का एक स्थिर कार्यान्वयन जो अपने सुपरक्लास में बदलाव के बावजूद टीएफ/सीटीएस (जैसे 8+) के पुराने संस्करणों के साथ संगत रहना चाहिए। |
|
ITestInvocationListener
परिणाम_रिपोर्टर के रूप में निर्दिष्ट करने के लिए लागू करता है और परीक्षण, परीक्षण रन, परीक्षण आमंत्रण के परिणामों को उपप्रक्रिया से आगे बढ़ाता है।
सारांश
सार्वजनिक तरीके |
---|
void | close () |
TestSummary | getSummary () |
void | invocationEnded (long elapsedTime) |
void | invocationFailed (FailureDescription failure) |
void | invocationFailed (Throwable cause) |
void | invocationStarted (IInvocationContext context) |
void | logAssociation (String dataName, LogFile logFile) |
void | printEvent (String key, Object event) इवेंट कुंजी और फिर json ऑब्जेक्ट को प्रिंट करने में सहायक। |
void | setOutputTestLog (boolean outputTestLog) सेट करता है कि हमें लॉग किए गए परीक्षण को आउटपुट करना चाहिए या नहीं। |
boolean | supportGranularResults () |
void | testAssumptionFailure (TestDescription testId, String trace) |
void | testAssumptionFailure (TestDescription testId, FailureDescription failure) |
void | testEnded (TestDescription testId, long endTime, metrics) testEnded (TestDescription testId, long endTime, metrics) |
void | testEnded (TestDescription testId, metrics) testEnded (TestDescription testId, metrics) |
void | testFailed (TestDescription testId, FailureDescription failure) |
void | testFailed (TestDescription testId, String reason) |
void | testIgnored (TestDescription testId) |
void | testLog (String dataName, LogDataType dataType, InputStreamSource dataStream) |
void | testModuleEnded () |
void | testModuleStarted (IInvocationContext moduleContext) |
void | testRunEnded (long time, runMetrics) testRunEnded (long time, runMetrics) |
void | testRunFailed (FailureDescription failure) |
void | testRunFailed (String reason) |
void | testRunStarted (String runName, int testCount, int attemptNumber) |
void | testRunStarted (String runName, int testCount) |
void | testRunStarted (String runName, int testCount, int attemptNumber, long startTime) |
void | testRunStopped (long arg0) |
void | testStarted (TestDescription testId, long startTime) |
void | testStarted (TestDescription testId) |
सार्वजनिक निर्माणकर्ता
उपप्रक्रियापरिणामरिपोर्टर
public SubprocessResultsReporter ()
सार्वजनिक तरीके
बंद करना
public void close ()
सारांश प्राप्त करें
public TestSummary getSummary ()
मंगलाचरणसमाप्त
public void invocationEnded (long elapsedTime)
पैरामीटर |
---|
elapsedTime | long |
मंगलाचरणविफल
public void invocationFailed (FailureDescription failure)
पैरामीटर |
---|
failure | FailureDescription |
मंगलाचरणविफल
public void invocationFailed (Throwable cause)
मंगलाचरणशुरू हुआ
public void invocationStarted (IInvocationContext context)
पैरामीटर |
---|
context | IInvocationContext |
लॉगएसोसिएशन
public void logAssociation (String dataName,
LogFile logFile)
पैरामीटर |
---|
dataName | String |
logFile | LogFile |
प्रिंटइवेंट
public void printEvent (String key,
Object event)
इवेंट कुंजी और फिर json ऑब्जेक्ट को प्रिंट करने में सहायक।
पैरामीटर |
---|
key | String |
event | Object |
setOutputTestLog
public void setOutputTestLog (boolean outputTestLog)
सेट करता है कि हमें लॉग किए गए परीक्षण को आउटपुट करना चाहिए या नहीं।
पैरामीटर |
---|
outputTestLog | boolean |
supportGranularResults
public boolean supportGranularResults ()
परीक्षणधारणाविफलता
public void testAssumptionFailure (TestDescription testId,
String trace)
पैरामीटर |
---|
testId | TestDescription |
trace | String |
परीक्षणधारणाविफलता
public void testAssumptionFailure (TestDescription testId,
FailureDescription failure)
पैरामीटर |
---|
testId | TestDescription |
failure | FailureDescription |
परीक्षण समाप्त
public void testEnded (TestDescription testId,
long endTime,
metrics)
पैरामीटर |
---|
testId | TestDescription |
endTime | long |
metrics | |
परीक्षण समाप्त
public void testEnded (TestDescription testId,
metrics)
पैरामीटर |
---|
testId | TestDescription |
metrics | |
परीक्षण विफल
public void testFailed (TestDescription testId,
FailureDescription failure)
पैरामीटर |
---|
testId | TestDescription |
failure | FailureDescription |
परीक्षण विफल
public void testFailed (TestDescription testId,
String reason)
पैरामीटर |
---|
testId | TestDescription |
reason | String |
परीक्षणअनदेखा
public void testIgnored (TestDescription testId)
पैरामीटर |
---|
testId | TestDescription |
public void testLog (String dataName,
LogDataType dataType,
InputStreamSource dataStream)
पैरामीटर |
---|
dataName | String |
dataType | LogDataType |
dataStream | InputStreamSource |
testModuleसमाप्त
public void testModuleEnded ()
testModuleशुरू हुआ
public void testModuleStarted (IInvocationContext moduleContext)
पैरामीटर |
---|
moduleContext | IInvocationContext |
testRunEnded
public void testRunEnded (long time,
runMetrics)
पैरामीटर |
---|
time | long |
runMetrics | |
परीक्षण चलाने में विफल
public void testRunFailed (FailureDescription failure)
पैरामीटर |
---|
failure | FailureDescription |
परीक्षण चलाने में विफल
public void testRunFailed (String reason)
testRunStarted
public void testRunStarted (String runName,
int testCount,
int attemptNumber)
पैरामीटर |
---|
runName | String |
testCount | int |
attemptNumber | int |
testRunStarted
public void testRunStarted (String runName,
int testCount)
पैरामीटर |
---|
runName | String |
testCount | int |
testRunStarted
public void testRunStarted (String runName,
int testCount,
int attemptNumber,
long startTime)
पैरामीटर |
---|
runName | String |
testCount | int |
attemptNumber | int |
startTime | long |
टेस्टरनस्टॉप किया गया
public void testRunStopped (long arg0)
परीक्षण प्रारंभ
public void testStarted (TestDescription testId,
long startTime)
पैरामीटर |
---|
testId | TestDescription |
startTime | long |
परीक्षण प्रारंभ
public void testStarted (TestDescription testId)
पैरामीटर |
---|
testId | TestDescription |