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_CONSIDER
Fields inherited from class hudson.tasks.test.AbstractTestResultAction
owner, run
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected hudson.tasks.junit.TestResult
protected hudson.tasks.junit.TestResult
parse()
Methods inherited from class org.jenkinsci.plugins.junitrealtimetestreporter.AbstractRealtimeTestResultAction
findPreviousTestResult, getFailCount, getFailedTests, getParseInterval, getResult, getTarget, getTestProgress, getTotalCount
Methods 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:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
- Overrides:
getDisplayName
in classhudson.tasks.test.AbstractTestResultAction<AbstractRealtimeTestResultAction>
-
getUrlName
- Specified by:
getUrlName
in interfaceAction
- Overrides:
getUrlName
in classhudson.tasks.test.AbstractTestResultAction<AbstractRealtimeTestResultAction>
-
parse
- Specified by:
parse
in classAbstractRealtimeTestResultAction
- Throws:
IOException
InterruptedException
-
findPreviousTestResult
protected hudson.tasks.junit.TestResult findPreviousTestResult() throws IOException, InterruptedException- Specified by:
findPreviousTestResult
in classAbstractRealtimeTestResultAction
- Throws:
IOException
InterruptedException
-