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
Metainformation of a executed TPT file.
- Author:
- FInfantino, Synopsys Inc.
-
Constructor Summary
Constructors -
Method Summary
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 Details
-
TPTFile
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 Details
-
getFileName
- Returns:
- The name of the TPT file
-
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
-