public final class ModuleResult
extends hudson.tasks.test.MetaTabulatedResult
Constructor and Description |
---|
ModuleResult(hudson.tasks.test.TestObject parent,
JUnitSummaryInfo junitSummaryInfo)
Creates an empty result.
|
Modifier and Type | Method and Description |
---|---|
PackageResult |
byPackage(String packageName) |
hudson.tasks.test.TestResult |
findCorrespondingResult(String id) |
Collection<PackageResult> |
getChildren() |
String |
getChildTitle() |
String |
getDisplayName() |
float |
getDuration() |
Object |
getDynamic(String token,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp) |
String |
getErrorDetails()
If there was an error or a failure, this is the text from the message.
|
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() |
List<CaseResult> |
getFailedTests() |
hudson.tasks.junit.History |
getHistory() |
JUnitMetricsInfo |
getMetrics() |
String |
getName() |
hudson.model.AbstractBuild<?,?> |
getOwner() |
hudson.tasks.test.TestObject |
getParent() |
int |
getPassCount() |
int |
getPassDiff() |
Collection<? extends hudson.tasks.test.TestResult> |
getPassedTests()
Gets the "children" of this test result that passed
|
ModuleResult |
getPreviousResult() |
String |
getRootUrl(String urlName) |
String |
getRootUrl(hudson.tasks.junit.TestAction testAction) |
int |
getSkipCount() |
int |
getSkipDiff() |
Collection<? extends hudson.tasks.test.TestResult> |
getSkippedTests()
Gets the "children" of this test result that were skipped
|
String |
getStderr()
The stderr of this test.
|
String |
getStdout()
The stdout of this test.
|
List<hudson.tasks.junit.TestAction> |
getTestActions() |
ProjectResultBuildAction |
getTestResultAction() |
String |
getTitle() |
int |
getTotalDiff() |
boolean |
hasChildren()
Whether this test result has children.
|
boolean |
isPassed() |
void |
setParent(hudson.tasks.test.TestObject parent) |
annotate, getBuildResult, getParentAction, getResultInRun, setParentAction, tally, toPrettyString
doSubmitDescription, getApi, getDescription, getDurationString, getFullDisplayName, getFullName, getId, getRelativePathFrom, getResultInBuild, getSafeName, getSearchUrl, getTestAction, getTestResult, getTopLevelTestResult, getTotalCount, getUrl, safe, setDescription, uniquifyName
public ModuleResult(hudson.tasks.test.TestObject parent, JUnitSummaryInfo junitSummaryInfo)
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 String getDisplayName()
public hudson.model.AbstractBuild<?,?> getOwner()
getOwner
in class hudson.tasks.junit.TestObject
public ProjectResultBuildAction getTestResultAction()
getTestResultAction
in class hudson.tasks.test.TestObject
public hudson.tasks.test.TestResult findCorrespondingResult(String id)
findCorrespondingResult
in class hudson.tasks.test.TestObject
public String getTitle()
getTitle
in class hudson.tasks.test.TestResult
public 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 ModuleResult getPreviousResult()
getPreviousResult
in class hudson.tasks.test.TestResult
public List<CaseResult> getFailedTests()
getFailedTests
in class hudson.tasks.test.MetaTabulatedResult
public Collection<? extends hudson.tasks.test.TestResult> getPassedTests()
getPassedTests
in class hudson.tasks.test.TestResult
public 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 String getStdout()
getStdout()
.getStdout
in class hudson.tasks.test.TestResult
public String getStderr()
getStderr
in class hudson.tasks.test.TestResult
getStdout()
public String getErrorStackTrace()
getErrorStackTrace
in class hudson.tasks.test.TestResult
public String getErrorDetails()
getErrorDetails
in class hudson.tasks.test.TestResult
public boolean isPassed()
isPassed
in class hudson.tasks.test.TestResult
public Collection<PackageResult> getChildren()
getChildren
in class hudson.tasks.test.TabulatedResult
public boolean hasChildren()
hasChildren
in class hudson.tasks.test.TabulatedResult
public String getName()
getName
in class hudson.tasks.test.TestObject
public Object getDynamic(String token, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
getDynamic
in class hudson.tasks.test.TestObject
public PackageResult byPackage(String packageName)
public String getRootUrl(hudson.tasks.junit.TestAction testAction)
public 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
Copyright © 2004-2016. All Rights Reserved.