All Implemented Interfaces:
Action, ModelObject

public class TPTFile extends InvisibleActionHostingHtml
Metainformation of a executed TPT file.
Author:
FInfantino, Synopsys Inc.
  • Constructor Details

    • 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 file
      configuration - the name of the execution configuration
      jenkinsConfigId - The unique ID of the configuration to create unique paths
  • Method Details

    • 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)