Package jp.vmi.junit.result
Class TestSuiteResult
public class TestSuiteResult extends TestResult<ITestSuite>
Result of test-suite.
-
Field Summary
Fields inherited from class jp.vmi.junit.result.TestResult
testTarget -
Constructor Summary
Constructors Constructor Description TestSuiteResult() -
Method Summary
Modifier and Type Method Description voidaddProperty(String name, String value)Add property.voidaddTestCaseResult(TestCaseResult caseResult)Add TestCaseResult instance.intgetErrors()Get error count.intgetFailures()Get failure count.intgetSkipped()Get skipped count.intgetTests()Get test count.voidsetError(TestCaseResult error)Set error when the test class failed to loadMethods inherited from class jp.vmi.junit.result.TestResult
getBaseName, getName, getTime, getTimestamp, setTestTarget
-
Constructor Details
-
TestSuiteResult
public TestSuiteResult()
-
-
Method Details
-
addProperty
Add property.- Parameters:
name- property name.value- property value.
-
setError
Set error when the test class failed to load- Parameters:
error- error result instance.
-
addTestCaseResult
Add TestCaseResult instance.- Parameters:
caseResult- TestCaseResult instatnce.
-
getTests
public int getTests()Get test count.- Returns:
- test count.
-
getFailures
public int getFailures()Get failure count.- Returns:
- failure count.
-
getErrors
public int getErrors()Get error count.- Returns:
- error count.
-
getSkipped
public int getSkipped()Get skipped count.- Returns:
- skipped count.
-