public class TapResult extends Object implements hudson.model.ModelObject, Serializable
| Constructor and Description |
|---|
TapResult(String name,
hudson.model.Run owner,
List<TestSetMap> testSets,
Boolean todoIsFailure,
Boolean includeCommentDiagnostics,
Boolean validateNumberOfTests) |
public TapResult copyWithExtraTestSets(List<TestSetMap> testSets)
public Boolean getShowOnlyFailures()
public void setShowOnlyFailures(Boolean showOnlyFailures)
public Boolean getTodoIsFailure()
public Boolean getIncludeCommentDiagnostics()
public Boolean getValidateNumberOfTests()
public void tally()
public hudson.model.Run getOwner()
public void setOwner(hudson.model.Run 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 getToDo()
public int getPassed()
public int getBailOuts()
public int getTotal()
public float getDuration()
public String createDiagnosticTable(String tapFile, Map<String,Object> diagnostic)
tapFile - location of TAP filediagnostic - TAP diagnosticspublic boolean isTestResult(Object tapResult)
tapResult - the tap result objecttrue if the object is not null and an instance of TestResultpublic boolean isBailOut(Object tapResult)
tapResult - the tap result objecttrue if the object is not null and an instance of BailOutpublic 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–2019 Jenkins. All rights reserved.