Class TPTFile
- java.lang.Object
-
- hudson.model.InvisibleAction
-
- com.piketec.jenkins.plugins.tpt.publisher.InvisibleActionHostingHtml
-
- com.piketec.jenkins.plugins.tpt.publisher.TPTFile
-
- All Implemented Interfaces:
Action
,ModelObject
public class TPTFile extends InvisibleActionHostingHtml
Metainformation of a executed TPT file.- Author:
- FInfantino, PikeTec GmbH
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addResult(TptResult result)
String
getConfiguration()
int
getExecutionError()
int
getFailed()
String
getFileName()
int
getInconclusive()
int
getPassed()
int
getTotal()
-
Methods inherited from class com.piketec.jenkins.plugins.tpt.publisher.InvisibleActionHostingHtml
doDynamic, getJenkinsConfigId, pathToHtml, setJenkinsConfigId
-
Methods inherited from class hudson.model.InvisibleAction
getDisplayName, getIconFileName, getUrlName
-
-
-
-
Constructor Detail
-
TPTFile
public TPTFile(String fileName, String configuration, String jenkinsConfigId)
Data container for each TPT File in order to organize all the TPT Files.- Parameters:
fileName
- The name of the TPT fileconfiguration
- the name of the execution configurationjenkinsConfigId
- The unique ID of the configuration to create unique paths
-
-
Method Detail
-
getFileName
public String getFileName()
- Returns:
- The name of the TPT file
-
getConfiguration
public String getConfiguration()
- Returns:
- The name of the execution configuration
-
getPassed
public int getPassed()
- Returns:
- the number of passed tests
-
getInconclusive
public int getInconclusive()
- Returns:
- the number of inconclusive tests
-
getExecutionError
public int getExecutionError()
- Returns:
- the number of tests with execution errors
-
getFailed
public int getFailed()
- Returns:
- the number of failed tests
-
getTotal
public int getTotal()
- Returns:
- the total number of tests
-
addResult
public void addResult(TptResult result)
-
-