Package hudson.plugins.testng.results
Class ClassResult
java.lang.Object
hudson.model.AbstractModelObject
hudson.tasks.junit.TestObject
hudson.tasks.test.TestObject
hudson.tasks.test.TestResult
hudson.tasks.test.TabulatedResult
hudson.plugins.testng.results.BaseResult
hudson.plugins.testng.results.ClassResult
- All Implemented Interfaces:
ModelObject,SearchableModelObject,SearchItem,Serializable
Handle results related to a single test class
- See Also:
-
Field Summary
Fields inherited from class hudson.plugins.testng.results.BaseResult
name, parent, runFields inherited from class hudson.tasks.test.TabulatedResult
testsByBlock -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTestMethods(List<MethodResult> list) floatgetDynamic(String token, org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) longintintintlongCalled only from jelly file.intbooleanvoidvoidtally()Methods inherited from class hudson.plugins.testng.results.BaseResult
findCorrespondingResult, getAge, getDisplayName, getName, getParent, getParentAction, getRun, getTestResultAction, getTitle, getUpUrl, setParentMethods inherited from class hudson.tasks.test.TabulatedResult
blockToTestResult, getChildTitle, getChildType, getPipelineBlockWithTests, hasMultipleBlocks, populateBlocksMethods inherited from class hudson.tasks.test.TestResult
annotate, getBuildResult, getErrorDetails, getErrorStackTrace, getFailedSince, getFailedSinceRun, getFailedTests, getPassedTests, getPreviousResult, getProperties, getResultInRun, getSkippedTests, getStderr, getStdout, isPassed, setParent, setParentAction, toPrettyStringMethods inherited from class hudson.tasks.test.TestObject
doSubmitDescription, getApi, getDescription, getDurationString, getFullDisplayName, getFullName, getHistory, getId, getRelativePathFrom, getResultInBuild, getSafeName, getSearchUrl, getTestAction, getTestActions, getTestResult, getTopLevelTestResult, getUrl, safe, setDescription, uniquifyNameMethods inherited from class hudson.tasks.junit.TestObject
getOwnerMethods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError, sendError, sendError, sendError
-
Constructor Details
-
ClassResult
-
-
Method Details
-
getPkgName
-
getCanonicalName
-
getTestRunMap
Called only from jelly file. Returns test methods grouped by their test run.- Returns:
- test methods grouped by their test run.
-
setRun
- Overrides:
setRunin classBaseResult
-
getDuration
@Exported public float getDuration()- Overrides:
getDurationin classhudson.tasks.test.TestResult
-
getStartTime
public long getStartTime() -
getEndTime
public long getEndTime() -
getFailCount
@Exported(visibility=9, name="fail") public int getFailCount()- Overrides:
getFailCountin classhudson.tasks.test.TestResult
-
getSkipCount
@Exported(visibility=9, name="skip") public int getSkipCount()- Overrides:
getSkipCountin classhudson.tasks.test.TestResult
-
getTotalCount
@Exported(visibility=9) public int getTotalCount()- Overrides:
getTotalCountin classhudson.tasks.test.TestObject
-
getPassCount
public int getPassCount()- Overrides:
getPassCountin classhudson.tasks.test.TestResult
-
addTestMethods
-
tally
public void tally()- Overrides:
tallyin classhudson.tasks.test.TestResult
-
getDynamic
public Object getDynamic(String token, org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) - Overrides:
getDynamicin classBaseResult
-
getTestMethods
-
getConfigurationMethods
-
getChildren
- Specified by:
getChildrenin classhudson.tasks.test.TabulatedResult
-
hasChildren
public boolean hasChildren()- Specified by:
hasChildrenin classhudson.tasks.test.TabulatedResult
-