परिणाम एग्रीगेटर
public class ResultAggregator
extends CollectingTestListener
विशेष फारवर्डर जो पुन: प्रयास की रणनीति के आधार पर आवश्यकता पड़ने पर परिणामों को एकत्रित करता है।
सारांश
सार्वजनिक तरीके |
---|
void | cleanEventsFiles () |
final void | forwardAggregatedInvocationLogs () सभी आमंत्रण स्तर लॉग को उन परिणाम रिपोर्टरों को अग्रेषित करें जो विस्तृत परिणामों का समर्थन नहीं करते हैं। |
void | invocationEnded (long elapsedTime) |
void | invocationFailed (FailureDescription failure) |
void | invocationFailed (Throwable cause) |
void | invocationStarted (IInvocationContext context) |
void | logAssociation (String dataName, LogFile logFile) |
void | setLogSaver (ILogSaver logSaver) |
void | setUpdatedReporting (boolean updatedReporting) नई रिपोर्टिंग सेट करता है. |
void | testAssumptionFailure (TestDescription test, String trace) |
void | testAssumptionFailure (TestDescription test, FailureDescription failure) |
void | testEnded (TestDescription test, long endTime, testMetrics) testEnded (TestDescription test, long endTime, testMetrics) |
void | testFailed (TestDescription test, FailureDescription failure) |
void | testFailed (TestDescription test, String trace) |
void | testIgnored (TestDescription test) |
void | testLog (String dataName, LogDataType dataType, InputStreamSource dataStream) |
void | testLogSaved (String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile) |
void | testModuleEnded () |
void | testModuleStarted (IInvocationContext moduleContext) |
void | testRunEnded (long elapsedTime, runMetrics) testRunEnded (long elapsedTime, runMetrics) |
void | testRunFailed (FailureDescription failure) |
void | testRunFailed (String errorMessage) |
void | testRunStarted (String name, int testCount, int attemptNumber, long startTime) |
void | testStarted (TestDescription test, long startTime) |
सार्वजनिक निर्माणकर्ता
परिणाम एग्रीगेटर
public ResultAggregator ( listeners,
RetryStrategy strategy)
पैरामीटर |
---|
listeners | |
strategy | RetryStrategy |
सार्वजनिक तरीके
क्लीनइवेंटफ़ाइलें
public void cleanEventsFiles ()
फॉरवर्ड एग्रीगेटेड इनवोकेशन लॉग्स
public final void forwardAggregatedInvocationLogs ()
सभी आमंत्रण स्तर लॉग को उन परिणाम रिपोर्टरों को अग्रेषित करें जो विस्तृत परिणामों का समर्थन नहीं करते हैं।
मंगलाचरणसमाप्त
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 setLogSaver (ILogSaver logSaver)
पैरामीटर |
---|
logSaver | ILogSaver |
सेटअपडेटेडरिपोर्टिंग
public void setUpdatedReporting (boolean updatedReporting)
नई रिपोर्टिंग सेट करता है.
पैरामीटर |
---|
updatedReporting | boolean |
परीक्षणधारणाविफलता
public void testAssumptionFailure (TestDescription test,
String trace)
पैरामीटर |
---|
test | TestDescription |
trace | String |
परीक्षणधारणाविफलता
public void testAssumptionFailure (TestDescription test,
FailureDescription failure)
पैरामीटर |
---|
test | TestDescription |
failure | FailureDescription |
परीक्षण समाप्त
public void testEnded (TestDescription test,
long endTime,
testMetrics)
पैरामीटर |
---|
test | TestDescription |
endTime | long |
testMetrics | |
परीक्षण विफल
public void testFailed (TestDescription test,
FailureDescription failure)
पैरामीटर |
---|
test | TestDescription |
failure | FailureDescription |
परीक्षण विफल
public void testFailed (TestDescription test,
String trace)
पैरामीटर |
---|
test | TestDescription |
trace | String |
परीक्षणअनदेखा
public void testIgnored (TestDescription test)
पैरामीटर |
---|
test | TestDescription |
public void testLog (String dataName,
LogDataType dataType,
InputStreamSource dataStream)
पैरामीटर |
---|
dataName | String |
dataType | LogDataType |
dataStream | InputStreamSource |
public void testLogSaved (String dataName,
LogDataType dataType,
InputStreamSource dataStream,
LogFile logFile)
पैरामीटर |
---|
dataName | String |
dataType | LogDataType |
dataStream | InputStreamSource |
logFile | LogFile |
testModuleसमाप्त
public void testModuleEnded ()
testModuleशुरू हुआ
public void testModuleStarted (IInvocationContext moduleContext)
पैरामीटर |
---|
moduleContext | IInvocationContext |
testRunEnded
public void testRunEnded (long elapsedTime,
runMetrics)
पैरामीटर |
---|
elapsedTime | long |
runMetrics | |
परीक्षण चलाने में विफल
public void testRunFailed (FailureDescription failure)
पैरामीटर |
---|
failure | FailureDescription |
परीक्षण चलाने में विफल
public void testRunFailed (String errorMessage)
पैरामीटर |
---|
errorMessage | String |
testRunStarted
public void testRunStarted (String name,
int testCount,
int attemptNumber,
long startTime)
पैरामीटर |
---|
name | String |
testCount | int |
attemptNumber | int |
startTime | long |
परीक्षण प्रारंभ
public void testStarted (TestDescription test,
long startTime)
पैरामीटर |
---|
test | TestDescription |
startTime | long |
संरक्षित तरीके
getEventsLogs
protected File[] getEventsLogs ()