public class FitnesseResults extends hudson.tasks.test.TabulatedResult implements Comparable<FitnesseResults>
| Constructor and Description |
|---|
FitnesseResults(hudson.plugins.fitnesse.NativePageCounts.Counts pageCounts) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(FitnesseResults other)
|
hudson.tasks.test.TestResult |
findCorrespondingResult(String id)
TestObject Required to compare builds with one another e.g. |
hudson.model.Result |
getBuildResult() |
Collection<? extends hudson.tasks.test.TestResult> |
getChildren()
Returns the children of this result.
|
protected List<FitnesseResults> |
getChildResults()
Returns the children FitNesse results that were added with
addChild(FitnesseResults) |
String |
getDetailRemoteLink()
referenced in body.jelly.
|
String |
getDetailsLink()
referenced in body.jelly.
|
String |
getDisplayName()
ModelObject |
float |
getDuration() |
Object |
getDynamic(String token,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
called from links embedded in history/trend graphs TODO: Expose
sub-suites as separate elements of the fitnesse report.
|
int |
getExceptionCount()
referenced in summary.jelly
|
int |
getFailCount() |
Collection<FitnesseResults> |
getFailedTests() |
int |
getFailOnlyCount() |
String |
getHeadlineText()
referenced in body.jelly
|
int |
getIgnoredCount()
referenced in summary.jelly
|
String |
getName()
Required for
TestObject.getId() |
hudson.model.AbstractBuild<?,?> |
getOwner() |
hudson.tasks.test.TestObject |
getParent() |
FitnesseResultsAction |
getParentAction()
TestResult.getParentAction() Required to prevent looking for any
old AbstractTestResultAction when e.g. |
int |
getPassCount() |
Collection<FitnesseResults> |
getPassedTests() |
String |
getResultsDate() |
int |
getSkipCount() |
Collection<FitnesseResults> |
getSkippedTests() |
FitnesseResultsAction |
getTestResultAction()
TestObject.getTestResultAction() Required to prevent looking for
any old AbstractTestResultAction when e.g. |
boolean |
hasChildren()
Returns
true if there are child results available. |
protected boolean |
hasChildResults()
Returns
true if there are children FitNesse results
available |
protected boolean |
hasHtmlContent()
Returns
true if this results has html content that is
available via #getHtmlContent() |
boolean |
isEarlierThan(FitnesseResults other) |
boolean |
isFailedOverall() |
boolean |
isLaterThan(FitnesseResults other) |
boolean |
isPassed() |
boolean |
isPassedOverall() |
boolean |
isSkippedOverall() |
long |
millisAfter(FitnesseResults other) |
void |
setOwner(hudson.model.AbstractBuild<?,?> build) |
void |
setParent(hudson.tasks.test.TestObject parentObject) |
String |
toHtml(FitnesseResults results)
referenced in body.jelly
|
annotate, getErrorDetails, getErrorStackTrace, getFailedSince, getFailedSinceRun, getPreviousResult, getResultInRun, getStderr, getStdout, getTitle, setParentAction, tally, toPrettyStringdoSubmitDescription, getApi, getDescription, getDurationString, getFullDisplayName, getFullName, getHistory, getId, getRelativePathFrom, getResultInBuild, getSafeName, getSearchUrl, getTestAction, getTestActions, getTestResult, getTopLevelTestResult, getTotalCount, getUrl, safe, setDescription, uniquifyNamepublic FitnesseResults(hudson.plugins.fitnesse.NativePageCounts.Counts pageCounts)
public hudson.tasks.test.TestResult findCorrespondingResult(String id)
TestObject Required to compare builds with one another e.g. show
history graphfindCorrespondingResult in class hudson.tasks.test.TestObjectpublic void setOwner(hudson.model.AbstractBuild<?,?> build)
public hudson.model.AbstractBuild<?,?> getOwner()
getOwner in class hudson.tasks.junit.TestObjectpublic void setParent(hudson.tasks.test.TestObject parentObject)
setParent in class hudson.tasks.test.TestResultpublic hudson.tasks.test.TestObject getParent()
getParent in class hudson.tasks.test.TestObject@Exported(visibility=2) public String getName()
TestObject.getId()getName in class hudson.tasks.test.TestObjectpublic String getDisplayName()
ModelObjectgetDisplayName in interface hudson.model.ModelObject@Exported(visibility=2) public int getFailCount()
getFailCount in class hudson.tasks.test.TestResult@Exported(visibility=2) public int getFailOnlyCount()
@Exported(visibility=2) public int getPassCount()
getPassCount in class hudson.tasks.test.TestResultpublic int getSkipCount()
getSkipCount in class hudson.tasks.test.TestResult@Exported(visibility=2) public int getIgnoredCount()
@Exported(visibility=2) public int getExceptionCount()
public boolean isFailedOverall()
public boolean isPassedOverall()
public boolean isPassed()
isPassed in class hudson.tasks.test.TestResultpublic boolean isSkippedOverall()
public hudson.model.Result getBuildResult()
getBuildResult in class hudson.tasks.test.TestResult@Exported(visibility=2) public float getDuration()
getDuration in class hudson.tasks.test.TestResult@Exported(visibility=1) public String getResultsDate()
public boolean isEarlierThan(FitnesseResults other)
public boolean isLaterThan(FitnesseResults other)
public long millisAfter(FitnesseResults other)
public String getHeadlineText()
public FitnesseResultsAction getTestResultAction()
TestObject.getTestResultAction() Required to prevent looking for
any old AbstractTestResultAction when e.g. looking for history across
multiple buildsgetTestResultAction in class hudson.tasks.test.TestObjectpublic FitnesseResultsAction getParentAction()
TestResult.getParentAction() Required to prevent looking for any
old AbstractTestResultAction when e.g. looking for history across
multiple buildsgetParentAction in class hudson.tasks.test.TestResultpublic int compareTo(FitnesseResults other)
compareTo in interface Comparable<FitnesseResults>@Exported(visibility=1) public Collection<FitnesseResults> getFailedTests()
getFailedTests in class hudson.tasks.test.TestResult@Exported(visibility=1) public Collection<FitnesseResults> getPassedTests()
getPassedTests in class hudson.tasks.test.TestResult@Exported(visibility=1) public Collection<FitnesseResults> getSkippedTests()
getSkippedTests in class hudson.tasks.test.TestResultpublic String toHtml(FitnesseResults results)
public String getDetailsLink()
public String getDetailRemoteLink()
public Object getDynamic(String token, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
getDynamic in class hudson.tasks.test.TestObjectpublic boolean hasChildren()
true if there are child results available. So far,
only returns true if there is #getHtmlContent() for
this result available.hasChildren in class hudson.tasks.test.TabulatedResult@Exported(visibility=1) public Collection<? extends hudson.tasks.test.TestResult> getChildren()
getChildren in class hudson.tasks.test.TabulatedResultprotected boolean hasChildResults()
true if there are children FitNesse results
availableprotected List<FitnesseResults> getChildResults()
addChild(FitnesseResults)protected boolean hasHtmlContent()
true if this results has html content that is
available via #getHtmlContent()Copyright © 2004-2015. All Rights Reserved.