|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hudson.model.AbstractModelObject hudson.tasks.junit.TestObject hudson.tasks.test.TestObject hudson.tasks.test.TestResult hudson.tasks.test.TabulatedResult hudson.tasks.test.MetaTabulatedResult com.cwctravel.hudson.plugins.suitegroupedtests.junit.TestResult
public final class TestResult
Root of all the test results for one build.
Constructor Summary | |
---|---|
TestResult(hudson.tasks.test.TestObject parent,
JUnitSummaryInfo junitSummaryInfo)
Creates an empty result. |
Method Summary | |
---|---|
PackageResult |
byPackage(java.lang.String packageName)
|
hudson.tasks.test.TestResult |
findCorrespondingResult(java.lang.String id)
|
java.util.Collection<PackageResult> |
getChildren()
|
java.lang.String |
getChildTitle()
|
java.lang.String |
getDisplayName()
|
float |
getDuration()
|
java.lang.Object |
getDynamic(java.lang.String token,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
|
java.lang.String |
getErrorDetails()
If there was an error or a failure, this is the text from the message. |
java.lang.String |
getErrorStackTrace()
If there was an error or a failure, this is the stack trace, or otherwise null. |
int |
getFailCount()
|
int |
getFailDiff()
|
int |
getFailedSince()
|
hudson.model.Run<?,?> |
getFailedSinceRun()
|
java.util.List<CaseResult> |
getFailedTests()
|
hudson.tasks.junit.History |
getHistory()
|
JUnitMetricsInfo |
getMetrics()
|
java.lang.String |
getName()
|
hudson.model.AbstractBuild<?,?> |
getOwner()
|
hudson.tasks.test.TestObject |
getParent()
|
int |
getPassCount()
|
int |
getPassDiff()
|
java.util.Collection<? extends hudson.tasks.test.TestResult> |
getPassedTests()
Gets the "children" of this test result that passed |
TestResult |
getPreviousResult()
|
java.lang.String |
getRootUrl(java.lang.String urlName)
|
java.lang.String |
getRootUrl(hudson.tasks.junit.TestAction testAction)
|
int |
getSkipCount()
|
int |
getSkipDiff()
|
java.util.Collection<? extends hudson.tasks.test.TestResult> |
getSkippedTests()
Gets the "children" of this test result that were skipped |
java.lang.String |
getStderr()
The stderr of this test. |
java.lang.String |
getStdout()
The stdout of this test. |
java.util.List<hudson.tasks.junit.TestAction> |
getTestActions()
|
SuiteGroupResultAction |
getTestResultAction()
|
java.lang.String |
getTitle()
|
int |
getTotalDiff()
|
boolean |
hasChildren()
Whether this test result has children. |
boolean |
isPassed()
|
void |
setParent(hudson.tasks.test.TestObject parent)
|
Methods inherited from class hudson.tasks.test.TestResult |
---|
annotate, getBuildResult, getParentAction, getResultInBuild, setParentAction, tally, toPrettyString |
Methods inherited from class hudson.tasks.test.TestObject |
---|
doSubmitDescription, getApi, getDescription, getDurationString, getId, getRelativePathFrom, getSafeName, getSearchUrl, getTestAction, getTestResult, getTopLevelTestResult, getTotalCount, getUrl, safe, setDescription, uniquifyName |
Methods inherited from class hudson.model.AbstractModelObject |
---|
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestResult(hudson.tasks.test.TestObject parent, JUnitSummaryInfo junitSummaryInfo)
Method Detail |
---|
public hudson.tasks.test.TestObject getParent()
getParent
in class hudson.tasks.test.TestObject
public void setParent(hudson.tasks.test.TestObject parent)
setParent
in class hudson.tasks.test.TestResult
public java.lang.String getDisplayName()
public hudson.model.AbstractBuild<?,?> getOwner()
getOwner
in class hudson.tasks.test.TestObject
public SuiteGroupResultAction getTestResultAction()
getTestResultAction
in class hudson.tasks.test.TestObject
public hudson.tasks.test.TestResult findCorrespondingResult(java.lang.String id)
findCorrespondingResult
in class hudson.tasks.test.TestObject
public java.lang.String getTitle()
getTitle
in class hudson.tasks.test.TestResult
public java.lang.String getChildTitle()
getChildTitle
in class hudson.tasks.test.TabulatedResult
@Exported(visibility=999) public float getDuration()
getDuration
in class hudson.tasks.test.TestResult
@Exported(visibility=999) public int getPassCount()
getPassCount
in class hudson.tasks.test.TestResult
@Exported(visibility=999) public int getFailCount()
getFailCount
in class hudson.tasks.test.TestResult
@Exported(visibility=999) public int getSkipCount()
getSkipCount
in class hudson.tasks.test.TestResult
public int getPassDiff()
public int getSkipDiff()
public int getFailDiff()
public int getTotalDiff()
public JUnitMetricsInfo getMetrics()
public TestResult getPreviousResult()
getPreviousResult
in class hudson.tasks.test.TestResult
public java.util.List<CaseResult> getFailedTests()
getFailedTests
in class hudson.tasks.test.MetaTabulatedResult
public java.util.Collection<? extends hudson.tasks.test.TestResult> getPassedTests()
getPassedTests
in class hudson.tasks.test.TestResult
public java.util.Collection<? extends hudson.tasks.test.TestResult> getSkippedTests()
getSkippedTests
in class hudson.tasks.test.TestResult
public int getFailedSince()
getFailedSince
in class hudson.tasks.test.TestResult
public hudson.model.Run<?,?> getFailedSinceRun()
getFailedSinceRun
in class hudson.tasks.test.TestResult
public java.lang.String getStdout()
SuiteResult.getStdout()
.
getStdout
in class hudson.tasks.test.TestResult
public java.lang.String getStderr()
getStderr
in class hudson.tasks.test.TestResult
getStdout()
public java.lang.String getErrorStackTrace()
getErrorStackTrace
in class hudson.tasks.test.TestResult
public java.lang.String getErrorDetails()
getErrorDetails
in class hudson.tasks.test.TestResult
public boolean isPassed()
isPassed
in class hudson.tasks.test.TestResult
public java.util.Collection<PackageResult> getChildren()
getChildren
in class hudson.tasks.test.TabulatedResult
public boolean hasChildren()
hasChildren
in class hudson.tasks.test.TabulatedResult
public java.lang.String getName()
getName
in class hudson.tasks.test.TestObject
public java.lang.Object getDynamic(java.lang.String token, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
getDynamic
in class hudson.tasks.test.TestObject
public PackageResult byPackage(java.lang.String packageName)
public java.lang.String getRootUrl(java.lang.String urlName)
public java.lang.String getRootUrl(hudson.tasks.junit.TestAction testAction)
public java.util.List<hudson.tasks.junit.TestAction> getTestActions()
getTestActions
in class hudson.tasks.test.TestObject
public hudson.tasks.junit.History getHistory()
getHistory
in class hudson.tasks.test.TestObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |