public class ProjectResult
extends hudson.tasks.test.MetaTabulatedResult
Constructor and Description |
---|
ProjectResult() |
ProjectResult(hudson.model.AbstractBuild<?,?> build,
JUnitSummaryInfo summary,
String moduleNamesStr,
String description) |
ProjectResult(hudson.model.AbstractProject<?,?> project,
JUnitSummaryInfo summary,
String moduleNamesStr,
String description) |
Modifier and Type | Method and Description |
---|---|
hudson.tasks.test.TestResult |
findCorrespondingResult(String id) |
Collection<ModuleResult> |
getChildren() |
String |
getChildTitle() |
String |
getDescription() |
String |
getDisplayName() |
float |
getDuration() |
Object |
getDynamic(String token,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp) |
int |
getFailCount()
Gets the number of failed tests.
|
int |
getFailDiff() |
int |
getFailedSince() |
hudson.model.Run<?,?> |
getFailedSinceRun() |
List<CaseResult> |
getFailedTests() |
hudson.tasks.junit.History |
getHistory() |
JUnitMetricsInfo |
getMetrics() |
Collection<String> |
getModuleNames()
The list of moduleNames currently in use by the children
|
ModuleResult |
getModuleResultByName(String moduleName) |
Collection<ModuleResult> |
getModules() |
String |
getName() |
hudson.model.AbstractBuild<?,?> |
getOwner() |
hudson.tasks.test.TestObject |
getParent()
Strange API.
|
int |
getPassCount()
Gets the number of passed tests.
|
int |
getPassDiff() |
List<CaseResult> |
getPassedTests() |
ProjectResult |
getPreviousResult() |
JUnitSummaryInfo |
getPreviousSummary() |
hudson.tasks.test.TestResult |
getResultInBuild(hudson.model.AbstractBuild<?,?> build) |
String |
getRootUrl(String urlName) |
String |
getRootUrl(hudson.tasks.junit.TestAction testAction) |
int |
getSkipCount()
Gets the total number of skipped tests
|
int |
getSkipDiff() |
List<CaseResult> |
getSkippedTests() |
List<hudson.tasks.junit.TestAction> |
getTestActions() |
ProjectResultBuildAction |
getTestResultAction() |
String |
getTitle() |
hudson.tasks.test.TestResult |
getTopLevelTestResult() |
int |
getTotalDiff() |
boolean |
hasChildren() |
boolean |
isPassed() |
void |
setDescription(String description) |
void |
setParentAction(ProjectResultBuildAction parentAction) |
String |
toPrettyString() |
annotate, getBuildResult, getErrorDetails, getErrorStackTrace, getParentAction, getResultInRun, getStderr, getStdout, setParent, setParentAction, tally
doSubmitDescription, getApi, getDurationString, getFullDisplayName, getFullName, getId, getRelativePathFrom, getSafeName, getSearchUrl, getTestAction, getTestResult, getTotalCount, getUrl, safe, uniquifyName
public ProjectResult()
public ProjectResult(hudson.model.AbstractProject<?,?> project, JUnitSummaryInfo summary, String moduleNamesStr, String description)
public ProjectResult(hudson.model.AbstractBuild<?,?> build, JUnitSummaryInfo summary, String moduleNamesStr, String description)
public Collection<String> getModuleNames()
@Exported(inline=true, visibility=99) public Collection<ModuleResult> getModules()
public ModuleResult getModuleResultByName(String moduleName)
public ProjectResultBuildAction getTestResultAction()
getTestResultAction
in class hudson.tasks.test.TestObject
public List<hudson.tasks.junit.TestAction> getTestActions()
getTestActions
in class hudson.tasks.test.TestObject
public void setParentAction(ProjectResultBuildAction parentAction)
public String getTitle()
getTitle
in class hudson.tasks.test.TestResult
public String getName()
getName
in class hudson.tasks.test.TestObject
public boolean isPassed()
isPassed
in class hudson.tasks.test.TestResult
public String getChildTitle()
getChildTitle
in class hudson.tasks.test.TabulatedResult
public ProjectResult getPreviousResult()
getPreviousResult
in class hudson.tasks.test.TestResult
public JUnitMetricsInfo getMetrics()
public int getPassDiff()
public int getSkipDiff()
public int getFailDiff()
public int getTotalDiff()
public JUnitSummaryInfo getPreviousSummary()
public hudson.tasks.test.TestResult getResultInBuild(hudson.model.AbstractBuild<?,?> build)
getResultInBuild
in class hudson.tasks.test.TestObject
public hudson.tasks.test.TestResult findCorrespondingResult(String id)
findCorrespondingResult
in class hudson.tasks.test.TestObject
public int getFailedSince()
getFailedSince
in class hudson.tasks.test.TestResult
public hudson.model.Run<?,?> getFailedSinceRun()
getFailedSinceRun
in class hudson.tasks.test.TestResult
@Exported(visibility=99) public int getFailCount()
getFailCount
in class hudson.tasks.test.TestResult
@Exported(visibility=99) public int getSkipCount()
getSkipCount
in class hudson.tasks.test.TestResult
@Exported(visibility=99) public int getPassCount()
getPassCount
in class hudson.tasks.test.TestResult
public List<CaseResult> getFailedTests()
getFailedTests
in class hudson.tasks.test.MetaTabulatedResult
public List<CaseResult> getSkippedTests()
getSkippedTests
in class hudson.tasks.test.TestResult
public List<CaseResult> getPassedTests()
getPassedTests
in class hudson.tasks.test.TestResult
public Collection<ModuleResult> getChildren()
getChildren
in class hudson.tasks.test.TabulatedResult
public boolean hasChildren()
hasChildren
in class hudson.tasks.test.TabulatedResult
public hudson.model.AbstractBuild<?,?> getOwner()
getOwner
in class hudson.tasks.junit.TestObject
public hudson.tasks.test.TestObject getParent()
getParent
in class hudson.tasks.test.TestObject
@Exported(visibility=99) public float getDuration()
getDuration
in class hudson.tasks.test.TestResult
@Exported(visibility=99) public String getDisplayName()
@Exported(visibility=99) public String getDescription()
getDescription
in class hudson.tasks.test.TestObject
public void setDescription(String description)
setDescription
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 String toPrettyString()
toPrettyString
in class hudson.tasks.test.TestResult
public hudson.tasks.test.TestResult getTopLevelTestResult()
getTopLevelTestResult
in class hudson.tasks.test.TestObject
public hudson.tasks.junit.History getHistory()
getHistory
in class hudson.tasks.test.TestObject
public String getRootUrl(hudson.tasks.junit.TestAction testAction)
Copyright © 2004-2016. All Rights Reserved.