Class SuiteSummaryResult
java.lang.Object
de.gebit.integrity.runner.results.Result
de.gebit.integrity.runner.results.SuiteSummaryResult
- Direct Known Subclasses:
SuiteResult
This is a basic version of the
SuiteResult class, which only contains the summary data. When forks return
from a suite execution, detailed information about the tests which were run is not available, thus this class is
used. If suites are run locally, more detailed info is available, in which case SuiteResult is used.- Author:
- Rene Schneider - initial API and implementation
-
Constructor Summary
ConstructorsConstructorDescriptionSuiteSummaryResult(int aTestSuccessCount, int aTestFailCount, int aTestExceptionCount, int aCallExceptionCount, long anExecutionTime) Creates an instance.SuiteSummaryResult(long anExecutionTime) Creates an instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns a total exception count, including tests and calls.protected voidsetResultCounts(int aTestSuccessCount, int aTestFailCount, int aTestExceptionCount, int aCallExceptionCount) Sets the summary information.Methods inherited from class de.gebit.integrity.runner.results.Result
getExecutionTime
-
Constructor Details
-
SuiteSummaryResult
public SuiteSummaryResult(long anExecutionTime) Creates an instance.- Parameters:
anExecutionTime- the execution time
-
SuiteSummaryResult
public SuiteSummaryResult(int aTestSuccessCount, int aTestFailCount, int aTestExceptionCount, int aCallExceptionCount, long anExecutionTime) Creates an instance.- Parameters:
aTestSuccessCount- the number of successful testsaTestFailCount- the number of failed testsaTestExceptionCount- the number of exceptionsanExecutionTime- the execution time
-
-
Method Details
-
setResultCounts
protected void setResultCounts(int aTestSuccessCount, int aTestFailCount, int aTestExceptionCount, int aCallExceptionCount) Sets the summary information.- Parameters:
aTestSuccessCount- the number of successful testsaTestFailCount- the number of failed testsaTestExceptionCount- the number of exceptions
-
getTestFailCount
-
getTestSuccessCount
-
getTestExceptionCount
-
getCallExceptionCount
-
getExceptionCount
Returns a total exception count, including tests and calls.- Returns:
- the total exception count or null if no counts are available
-