Class TPTFile
- java.lang.Object
-
- com.piketec.jenkins.plugins.tpt.publisher.TPTFile
-
public class TPTFile extends java.lang.Object
Metainformation of a executed TPT file.- Author:
- FInfantino, PikeTec GmbH
-
-
Constructor Summary
Constructors Constructor Description TPTFile(java.lang.String fileName, java.lang.String configuration, java.lang.String jenkinsConfigId)
Data container for each TPT File in order to organize all the TPT Files.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getConfiguration()
int
getExecutionError()
int
getFailed()
java.lang.String
getFileName()
int
getInconclusive()
java.lang.String
getJenkinsConfigId()
int
getPassed()
int
getTotal()
-
-
-
Constructor Detail
-
TPTFile
public TPTFile(java.lang.String fileName, java.lang.String configuration, java.lang.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 java.lang.String getFileName()
- Returns:
- The name of the TPT file
-
getConfiguration
public java.lang.String getConfiguration()
- Returns:
- The name of the execution configuration
-
getJenkinsConfigId
public java.lang.String getJenkinsConfigId()
- Returns:
- The unique id of the jenkins 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
-
-