Class RobotGraphHelper

java.lang.Object
hudson.plugins.robot.graph.RobotGraphHelper

public class RobotGraphHelper extends Object
  • Constructor Details

    • RobotGraphHelper

      public RobotGraphHelper()
  • Method Details

    • createTestResultsGraphForTestObject

      public static RobotGraph createTestResultsGraphForTestObject(RobotTestObject rootObject, boolean significantData, boolean binarydata, boolean hd, boolean failedOnly, boolean criticalOnly, String labelFormat, int maxBuildsToShow)
      Create a test result trend graph. The graph will ignore builds with no robot results.
      Parameters:
      significantData - True if graph has significant data
      binarydata - Binary data
      criticalOnly - True if graph only critical tests
      hd - True if you want a larger image
      labelFormat - Label format
      rootObject - The dataset will be taken from rootObject backwards. (i.e. there are no saved robot results in a given build)
      failedOnly - put test failures onto the graph only, to allow focus on test failures
      maxBuildsToShow - This maximum number of build result will be displayed on a graph 0 - no limits applied.
      Returns:
      Created graph
    • createDurationGraphForTestObject

      public static RobotGraph createDurationGraphForTestObject(RobotTestObject rootObject, boolean hd, int maxBuildsToShow, String labelFormat, boolean preview)
      Create a duration trend graph. The graph will ignore builds with no robot results.
      Parameters:
      rootObject - rootObject The dataset will be taken from rootObject backwards.
      labelFormat - Label format
      hd - True if you want a larger image
      preview - True if you want to enable preview
      maxBuildsToShow - Maximum amount of builds to show in the graph
      Returns:
      Created graph