org.tap4j.plugin
Class TapResult
java.lang.Object
org.tap4j.plugin.TapResult
- All Implemented Interfaces:
- hudson.model.ModelObject, Serializable
public class TapResult
- extends Object
- implements hudson.model.ModelObject, Serializable
- Since:
- 1.0
- Author:
- Bruno P. Kinoshita - http://www.kinoshita.eti.br
- See Also:
- Serialized Form
|
Constructor Summary |
TapResult(String name,
hudson.model.AbstractBuild<?,?> owner,
List<TestSetMap> testSets)
Deprecated. since JENKINS-15401 |
TapResult(String name,
hudson.model.AbstractBuild<?,?> owner,
List<TestSetMap> testSets,
Boolean todoIsFailure)
Deprecated. |
TapResult(String name,
hudson.model.AbstractBuild<?,?> owner,
List<TestSetMap> testSets,
Boolean todoIsFailure,
Boolean includeCommentDiagnostics)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TapResult
@Deprecated
public TapResult(String name,
hudson.model.AbstractBuild<?,?> owner,
List<TestSetMap> testSets)
- Deprecated. since JENKINS-15401
- Parameters:
name - owner - testSets -
TapResult
@Deprecated
public TapResult(String name,
hudson.model.AbstractBuild<?,?> owner,
List<TestSetMap> testSets,
Boolean todoIsFailure)
- Deprecated.
TapResult
public TapResult(String name,
hudson.model.AbstractBuild<?,?> owner,
List<TestSetMap> testSets,
Boolean todoIsFailure,
Boolean includeCommentDiagnostics)
getTodoIsFailure
public Boolean getTodoIsFailure()
- Returns:
- the todoIsFailure
getIncludeCommentDiagnostics
public Boolean getIncludeCommentDiagnostics()
- Returns:
- the includeCommentDiagnostics
tally
public void tally()
getOwner
public hudson.model.AbstractBuild<?,?> getOwner()
setOwner
public void setOwner(hudson.model.AbstractBuild<?,?> owner)
- Parameters:
owner - the owner to set
getTestSets
public List<TestSetMap> getTestSets()
isEmptyTestSet
public boolean isEmptyTestSet()
getParseErrorTestSets
public List<TestSetMap> getParseErrorTestSets()
- Returns:
- the parseErrorTestSets
hasParseErrors
public boolean hasParseErrors()
getFailed
public int getFailed()
getSkipped
public int getSkipped()
getPassed
public int getPassed()
getBailOuts
public int getBailOuts()
getTotal
public int getTotal()
createDiagnosticTable
public String createDiagnosticTable(String tapFile,
Map<String,Object> diagnostic)
- Called from TapResult/index.jelly
isTestResult
public boolean isTestResult(Object tapResult)
isBailOut
public boolean isBailOut(Object tapResult)
isComment
public boolean isComment(Object tapResult)
escapeHTML
public String escapeHTML(String html)
getName
@Exported(visibility=999)
public String getName()
- Returns:
- the name
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName in interface hudson.model.ModelObject
getContents
public String getContents(String fileName)
doDownloadAttachment
public void doDownloadAttachment(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Copyright © 2011-2013 Jenkins. All Rights Reserved.