Package hudson.plugins.robot.graph
Class RobotGraphHelper
java.lang.Object
hudson.plugins.robot.graph.RobotGraphHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RobotGraphcreateDurationGraphForTestObject(RobotTestObject rootObject, boolean hd, int maxBuildsToShow, String labelFormat, boolean preview) Create a duration trend graph.static RobotGraphcreateTestResultsGraphForTestObject(RobotTestObject rootObject, boolean significantData, boolean binarydata, boolean hd, boolean failedOnly, String labelFormat, int maxBuildsToShow) Create a test result trend graph.
-
Constructor Details
-
RobotGraphHelper
public RobotGraphHelper()
-
-
Method Details
-
createTestResultsGraphForTestObject
public static RobotGraph createTestResultsGraphForTestObject(RobotTestObject rootObject, boolean significantData, boolean binarydata, boolean hd, boolean failedOnly, 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 databinarydata- Binary datahd- True if you want a larger imagelabelFormat- Label formatrootObject- 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 failuresmaxBuildsToShow- 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 formathd- True if you want a larger imagepreview- True if you want to enable previewmaxBuildsToShow- Maximum amount of builds to show in the graph- Returns:
- Created graph
-