@ExportedBean public final class SuiteResult extends Object implements Serializable
The notion of "test suite" is rather arbitrary in JUnit ant task. It's basically one invocation of junit.
This object is really only used as a part of the persisted object tree.
Modifier and Type | Class and Description |
---|---|
static class |
SuiteResult.SuiteResultParserConfigurationContext
Passed to
ParserConfigurator . |
Modifier and Type | Method and Description |
---|---|
CaseResult |
getCase(String name)
Returns the
CaseResult whose CaseResult.getName()
is the same as the given string. |
List<CaseResult> |
getCases() |
Set<String> |
getClassNames() |
float |
getDuration() |
String |
getFile()
The absolute path to the original test report.
|
String |
getId() |
String |
getName() |
TestResult |
getParent() |
SuiteResult |
getPreviousResult() |
String |
getStderr()
The stderr of this test.
|
String |
getStdout()
The stdout of this test.
|
String |
getTimestamp() |
@Exported(visibility=9) public String getName()
@Exported(visibility=9) public float getDuration()
@Exported public String getStdout()
CaseResult.getStdout()
@Exported public String getStderr()
CaseResult.getStderr()
public String getFile()
public TestResult getParent()
@Exported(visibility=9) public String getTimestamp()
@Exported(visibility=9) public String getId()
@Exported(inline=true, visibility=9) public List<CaseResult> getCases()
public SuiteResult getPreviousResult()
public CaseResult getCase(String name)
CaseResult
whose CaseResult.getName()
is the same as the given string.
Note that test name needs not be unique.
name
- The case name.CaseResult
with the provided name.Copyright © 2016. All rights reserved.