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, run
Fields inherited from class hudson.tasks.test.TabulatedResult
testsByBlock
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addTestMethods
(List<MethodResult> list) float
getDynamic
(String token, org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) long
int
int
int
long
Called only from jelly file.int
boolean
void
void
tally()
Methods inherited from class hudson.plugins.testng.results.BaseResult
findCorrespondingResult, getAge, getDisplayName, getName, getParent, getParentAction, getRun, getTestResultAction, getTitle, getUpUrl, setParent
Methods inherited from class hudson.tasks.test.TabulatedResult
blockToTestResult, getChildTitle, getChildType, getPipelineBlockWithTests, hasMultipleBlocks, populateBlocks
Methods inherited from class hudson.tasks.test.TestResult
annotate, getBuildResult, getErrorDetails, getErrorStackTrace, getFailedSince, getFailedSinceRun, getFailedTests, getPassedTests, getPreviousResult, getProperties, getResultInRun, getSkippedTests, getStderr, getStdout, isPassed, setParent, setParentAction, toPrettyString
Methods 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, uniquifyName
Methods inherited from class hudson.tasks.junit.TestObject
getOwner
Methods 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:
setRun
in classBaseResult
-
getDuration
@Exported public float getDuration()- Overrides:
getDuration
in classhudson.tasks.test.TestResult
-
getStartTime
public long getStartTime() -
getEndTime
public long getEndTime() -
getFailCount
@Exported(visibility=9, name="fail") public int getFailCount()- Overrides:
getFailCount
in classhudson.tasks.test.TestResult
-
getSkipCount
@Exported(visibility=9, name="skip") public int getSkipCount()- Overrides:
getSkipCount
in classhudson.tasks.test.TestResult
-
getTotalCount
@Exported(visibility=9) public int getTotalCount()- Overrides:
getTotalCount
in classhudson.tasks.test.TestObject
-
getPassCount
public int getPassCount()- Overrides:
getPassCount
in classhudson.tasks.test.TestResult
-
addTestMethods
-
tally
public void tally()- Overrides:
tally
in classhudson.tasks.test.TestResult
-
getDynamic
public Object getDynamic(String token, org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) - Overrides:
getDynamic
in classBaseResult
-
getTestMethods
-
getConfigurationMethods
-
getChildren
- Specified by:
getChildren
in classhudson.tasks.test.TabulatedResult
-
hasChildren
public boolean hasChildren()- Specified by:
hasChildren
in classhudson.tasks.test.TabulatedResult
-