public class TapResult extends Object implements hudson.model.ModelObject, Serializable
| Constructor and Description |
|---|
TapResult(String name,
hudson.model.AbstractBuild<?,?> owner,
List<TestSetMap> testSets,
Boolean todoIsFailure,
Boolean includeCommentDiagnostics,
Boolean validateNumberOfTests) |
| Modifier and Type | Method and Description |
|---|---|
String |
createDiagnosticTable(String tapFile,
Map<String,Object> diagnostic)
Called from TapResult/index.jelly
|
void |
doDownloadAttachment(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response) |
String |
escapeHTML(String html) |
int |
getBailOuts() |
String |
getDisplayName() |
int |
getFailed() |
Boolean |
getIncludeCommentDiagnostics() |
String |
getName() |
hudson.model.AbstractBuild<?,?> |
getOwner() |
List<TestSetMap> |
getParseErrorTestSets() |
int |
getPassed() |
int |
getSkipped() |
List<TestSetMap> |
getTestSets() |
Boolean |
getTodoIsFailure() |
int |
getTotal() |
Boolean |
getValidateNumberOfTests() |
boolean |
hasParseErrors() |
boolean |
isBailOut(Object tapResult) |
boolean |
isComment(Object tapResult) |
boolean |
isEmptyTestSet() |
boolean |
isTestResult(Object tapResult) |
void |
setOwner(hudson.model.AbstractBuild<?,?> owner) |
void |
tally() |
public Boolean getTodoIsFailure()
public Boolean getIncludeCommentDiagnostics()
public Boolean getValidateNumberOfTests()
public void tally()
public hudson.model.AbstractBuild<?,?> getOwner()
public void setOwner(hudson.model.AbstractBuild<?,?> owner)
owner - the owner to setpublic List<TestSetMap> getTestSets()
public boolean isEmptyTestSet()
public List<TestSetMap> getParseErrorTestSets()
public boolean hasParseErrors()
public int getFailed()
public int getSkipped()
public int getPassed()
public int getBailOuts()
public int getTotal()
public String createDiagnosticTable(String tapFile, Map<String,Object> diagnostic)
public boolean isTestResult(Object tapResult)
public boolean isBailOut(Object tapResult)
public boolean isComment(Object tapResult)
@Exported(visibility=999) public String getName()
public String getDisplayName()
getDisplayName in interface hudson.model.ModelObjectpublic void doDownloadAttachment(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Copyright © 2011-2014 Jenkins. All Rights Reserved.