|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthudson.model.AbstractModelObject
hudson.tasks.junit.TestObject
hudson.tasks.test.TestObject
hudson.tasks.test.TestResult
hudson.tasks.test.TabulatedResult
hudson.plugins.fitnesse.FitnesseResults
public class FitnesseResults
| Constructor Summary | |
|---|---|
FitnesseResults(hudson.plugins.fitnesse.NativePageCounts.Counts pageCounts)
|
|
| Method Summary | |
|---|---|
int |
compareTo(FitnesseResults other)
Comparable |
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. |
String |
getErrorDetails()
|
int |
getExceptionCount()
referenced in summary.jelly |
int |
getFailCount()
|
Collection<FitnesseResults> |
getFailedTests()
|
int |
getFailOnlyCount()
|
String |
getHeadlineText()
referenced in body.jelly |
protected String |
getHtmlContent()
Returns the html content of this result. |
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()
|
String |
getStdout()
|
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 |
| Methods inherited from class hudson.tasks.test.TabulatedResult |
|---|
getChildTitle |
| Methods inherited from class hudson.tasks.test.TestResult |
|---|
annotate, getErrorStackTrace, getFailedSince, getFailedSinceRun, getPreviousResult, getResultInBuild, getStderr, getTitle, setParentAction, tally, toPrettyString |
| Methods inherited from class hudson.tasks.test.TestObject |
|---|
doSubmitDescription, getApi, getDescription, getDurationString, getHistory, getId, getRelativePathFrom, getSafeName, getSearchUrl, getTestAction, getTestActions, 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 FitnesseResults(hudson.plugins.fitnesse.NativePageCounts.Counts pageCounts)
| Method Detail |
|---|
public hudson.tasks.test.TestResult findCorrespondingResult(String id)
TestObject Required to compare builds with one another e.g. show history graph
findCorrespondingResult in class hudson.tasks.test.TestObjectpublic void setOwner(hudson.model.AbstractBuild<?,?> build)
public hudson.model.AbstractBuild<?,?> getOwner()
getOwner in class hudson.tasks.test.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()
ModelObject
getDisplayName 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 builds
getTestResultAction 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 builds
getParentAction in class hudson.tasks.test.TestResultpublic int compareTo(FitnesseResults other)
Comparable
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 String getErrorDetails()
getErrorDetails in class hudson.tasks.test.TestResult
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 available
protected List<FitnesseResults> getChildResults()
addChild(FitnesseResults)
protected boolean hasHtmlContent()
true if this results has html content
that is available via getHtmlContent()
protected String getHtmlContent()
public String getStdout()
getStdout in class hudson.tasks.test.TestResult
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||