Class TPTFile


  • public class TPTFile
    extends java.lang.Object
    Metainformation of a executed TPT file.
    Author:
    FInfantino, PikeTec GmbH
    • 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 file
        configuration - the name of the execution configuration
        jenkinsConfigId - 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