|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.tasks.junit.SuiteResult
@ExportedBean public final class SuiteResult
Result of one test suite.
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.
Nested Class Summary | |
---|---|
static class |
SuiteResult.SuiteResultParserConfigurationContext
Passed to ParserConfigurator . |
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
@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.
public Set<String> getClassNames()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |