public abstract class TestSuiteResult extends TestResult implements java.lang.Iterable<TestResult>
TestResult
objects. Since this class is also a
TestResult
, an hierarchy of test results can be created.testInfo
Constructor and Description |
---|
TestSuiteResult(TestInfo testSuite)
Constructs a
TestSuiteResult with the information of the test
suite. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSummary()
Gets the summary of the test run.
|
java.util.Set<TestFailure> |
getTestFailures()
Gets all test failures in this test result hierarchy.
|
getTestInfo, toString
public TestSuiteResult(TestInfo testSuite)
TestSuiteResult
with the information of the test
suite.testSuite
- the information of the test suitejava.lang.IllegalArgumentException
- if the given argument is nullpublic java.lang.String getSummary()
TestResult
getSummary
in class TestResult
public java.util.Set<TestFailure> getTestFailures()