Package hudson.plugins.robot
Class AggregatedRobotAction.AggregatedRobotResult
java.lang.Object
hudson.model.AbstractModelObject
hudson.plugins.robot.model.RobotTestObject
hudson.plugins.robot.model.RobotResult
hudson.plugins.robot.AggregatedRobotAction.AggregatedRobotResult
- All Implemented Interfaces:
ModelObject
,SearchableModelObject
,SearchItem
,Serializable
- Enclosing class:
- AggregatedRobotAction
- See Also:
-
Field Summary
Fields inherited from class hudson.plugins.robot.model.RobotTestObject
duration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addResult
(RobotResult result) int
long
Get number of all failed tests.long
Get number of all passed tests.long
Get number of all skipped tests.long
Get number of all tests.getOwner()
Return the build that this result belongs to.int
int
Methods inherited from class hudson.plugins.robot.model.RobotResult
addSuite, doReport, findObjectById, getAllCases, getAllFailedCases, getAllPassedCases, getAllSkippedCases, getAllSuites, getApi, getDescription, getDisplayName, getDuration, getDynamic, getExecutedSuites, getFailedCases, getName, getParent, getPassedCases, getPassPercentage, getPassPercentage, getSearchUrl, getSkippedCases, getSkipPercentage, getStatsByCategory, getSuite, getSuites, getTimeStamp, setStatsByCategory, setTimeStamp, tally
Methods inherited from class hudson.plugins.robot.model.RobotTestObject
doDurationGraph, doGraph, getDuplicateSafeName, getDurationDiff, getHasLog, getHasReport, getHumanReadableDuration, getId, getLogFile, getOldFormatName, getParentAction, getRelativeId, getRelativePackageName, getRelativeParent, getReportFile, getResultInBuild, isNeedToGenerate, setDuplicateSafeName, setId, setLogFile, setParentAction, setReportFile, urlEncode
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError, sendError, sendError, sendError
-
Constructor Details
-
AggregatedRobotResult
-
-
Method Details
-
addResult
-
getOverallPassed
public long getOverallPassed()Description copied from class:RobotResult
Get number of all passed tests.- Overrides:
getOverallPassed
in classRobotResult
- Returns:
- number of all passed tests
-
getOverallFailed
public long getOverallFailed()Description copied from class:RobotResult
Get number of all failed tests.- Overrides:
getOverallFailed
in classRobotResult
- Returns:
- number of all failed tests
-
getOverallSkipped
public long getOverallSkipped()Description copied from class:RobotResult
Get number of all skipped tests.- Overrides:
getOverallSkipped
in classRobotResult
- Returns:
- number of all skipped tests
-
getOverallTotal
public long getOverallTotal()Description copied from class:RobotResult
Get number of all tests.- Overrides:
getOverallTotal
in classRobotResult
- Returns:
- number of all tests
-
getFailed
public int getFailed()- Overrides:
getFailed
in classRobotResult
-
getPassed
public int getPassed()- Overrides:
getPassed
in classRobotResult
-
getSkipped
public int getSkipped()- Overrides:
getSkipped
in classRobotResult
-
getOwner
Description copied from class:RobotTestObject
Return the build that this result belongs to.- Overrides:
getOwner
in classRobotTestObject
- Returns:
- Build object. Null if no build.
-
getPreviousResult
- Overrides:
getPreviousResult
in classRobotResult
-