Class RealtimeTestResultAction
java.lang.Object
hudson.tasks.test.AbstractTestResultAction<AbstractRealtimeTestResultAction>
org.jenkinsci.plugins.junitrealtimetestreporter.AbstractRealtimeTestResultAction
org.jenkinsci.plugins.junitrealtimetestreporter.RealtimeTestResultAction
- All Implemented Interfaces:
Action,HealthReportingAction,ModelObject,RunAction2,org.kohsuke.stapler.StaplerProxy
Action attached to the build at the time of running displaying test results in real time.
This action is attached to building runs and detached as soon as the run
finishes. The action presents test result accumulated in workspace so far.
RealtimeTestResultAction and TestResultAction are never
attached at the same time so they share the same url space. As soon as the
underlying build finishes the realtime results will be replaced by final ones.- Author:
- ogondza
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.tasks.test.AbstractTestResultAction
hudson.tasks.test.AbstractTestResultAction.Summarizer -
Field Summary
Fields inherited from class org.jenkinsci.plugins.junitrealtimetestreporter.AbstractRealtimeTestResultAction
NUMBER_OF_BUILDS_TO_SEARCH, progress, result, RESULTS_OF_BUILDS_TO_CONSIDERFields inherited from class hudson.tasks.test.AbstractTestResultAction
owner, run -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected hudson.tasks.junit.TestResultprotected hudson.tasks.junit.TestResultparse()Methods inherited from class org.jenkinsci.plugins.junitrealtimetestreporter.AbstractRealtimeTestResultAction
findPreviousTestResult, getFailCount, getFailedTests, getParseInterval, getResult, getTarget, getTestProgress, getTotalCountMethods inherited from class hudson.tasks.test.AbstractTestResultAction
doGraph, doGraphMap, findCorrespondingResult, findPreviousCorresponding, getApi, getBuildHealth, getDescription, getFailureDiffString, getHealthScaleFactor, getIconFileName, getPassedTests, getPreviousResult, getPreviousResult, getSkipCount, getSkippedTests, getTestResultPath, onAttached, onLoad, readResolve, setDescription
-
Constructor Details
-
RealtimeTestResultAction
public RealtimeTestResultAction()
-
-
Method Details
-
getDisplayName
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject- Overrides:
getDisplayNamein classhudson.tasks.test.AbstractTestResultAction<AbstractRealtimeTestResultAction>
-
getUrlName
- Specified by:
getUrlNamein interfaceAction- Overrides:
getUrlNamein classhudson.tasks.test.AbstractTestResultAction<AbstractRealtimeTestResultAction>
-
parse
- Specified by:
parsein classAbstractRealtimeTestResultAction- Throws:
IOExceptionInterruptedException
-
findPreviousTestResult
protected hudson.tasks.junit.TestResult findPreviousTestResult() throws IOException, InterruptedException- Specified by:
findPreviousTestResultin classAbstractRealtimeTestResultAction- Throws:
IOExceptionInterruptedException
-