Package jp.vmi.junit.result
Class TestSuiteResult
- java.lang.Object
-
- jp.vmi.junit.result.TestResult<ITestSuite>
-
- jp.vmi.junit.result.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
All Methods Instance Methods Concrete Methods 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 load-
Methods inherited from class jp.vmi.junit.result.TestResult
getBaseName, getName, getTime, getTimestamp, setTestTarget
-
-
-
-
Method Detail
-
addProperty
public void addProperty(String name, String value)
Add property.- Parameters:
name- property name.value- property value.
-
setError
public void setError(TestCaseResult error)
Set error when the test class failed to load- Parameters:
error- error result instance.
-
addTestCaseResult
public void addTestCaseResult(TestCaseResult caseResult)
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.
-
-