Class AbstractRealtimeTestResultAction
- java.lang.Object
-
- hudson.tasks.test.AbstractTestResultAction<AbstractRealtimeTestResultAction>
-
- org.jenkinsci.plugins.junitrealtimetestreporter.AbstractRealtimeTestResultAction
-
- All Implemented Interfaces:
Action
,HealthReportingAction
,ModelObject
,RunAction2
,org.kohsuke.stapler.StaplerProxy
- Direct Known Subclasses:
PipelineRealtimeTestResultAction
,RealtimeTestResultAction
public abstract class AbstractRealtimeTestResultAction extends hudson.tasks.test.AbstractTestResultAction<AbstractRealtimeTestResultAction> implements org.kohsuke.stapler.StaplerProxy
-
-
Field Summary
Fields Modifier and Type Field Description static int
NUMBER_OF_BUILDS_TO_SEARCH
protected TestProgress
progress
protected hudson.tasks.junit.TestResult
result
static List<Result>
RESULTS_OF_BUILDS_TO_CONSIDER
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractRealtimeTestResultAction()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract hudson.tasks.junit.TestResult
findPreviousTestResult()
protected static hudson.tasks.junit.TestResult
findPreviousTestResult(Run<?,?> b)
int
getFailCount()
List<? extends hudson.tasks.test.TestResult>
getFailedTests()
protected long
getParseInterval()
hudson.tasks.junit.TestResult
getResult()
hudson.tasks.junit.TestResult
getTarget()
TestProgress
getTestProgress()
int
getTotalCount()
protected abstract hudson.tasks.junit.TestResult
parse()
-
Methods inherited from class hudson.tasks.test.AbstractTestResultAction
doGraph, doGraphMap, findCorrespondingResult, findPreviousCorresponding, getApi, getBuildHealth, getDescription, getDisplayName, getFailureDiffString, getHealthScaleFactor, getIconFileName, getPassedTests, getPreviousResult, getPreviousResult, getSkipCount, getSkippedTests, getTestResultPath, getUrlName, onAttached, onLoad, readResolve, setDescription
-
-
-
-
Field Detail
-
result
protected hudson.tasks.junit.TestResult result
-
progress
protected TestProgress progress
-
NUMBER_OF_BUILDS_TO_SEARCH
public static final int NUMBER_OF_BUILDS_TO_SEARCH
- See Also:
- Constant Field Values
-
-
Method Detail
-
parse
protected abstract hudson.tasks.junit.TestResult parse() throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
findPreviousTestResult
protected abstract hudson.tasks.junit.TestResult findPreviousTestResult() throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
getResult
public hudson.tasks.junit.TestResult getResult()
- Specified by:
getResult
in classhudson.tasks.test.AbstractTestResultAction<AbstractRealtimeTestResultAction>
-
getParseInterval
protected long getParseInterval()
-
getFailCount
public int getFailCount()
- Specified by:
getFailCount
in classhudson.tasks.test.AbstractTestResultAction<AbstractRealtimeTestResultAction>
-
getFailedTests
public List<? extends hudson.tasks.test.TestResult> getFailedTests()
- Overrides:
getFailedTests
in classhudson.tasks.test.AbstractTestResultAction<AbstractRealtimeTestResultAction>
-
getTotalCount
public int getTotalCount()
- Specified by:
getTotalCount
in classhudson.tasks.test.AbstractTestResultAction<AbstractRealtimeTestResultAction>
-
getTarget
public hudson.tasks.junit.TestResult getTarget()
- Specified by:
getTarget
in interfaceorg.kohsuke.stapler.StaplerProxy
-
getTestProgress
public TestProgress getTestProgress()
-
findPreviousTestResult
@CheckForNull protected static hudson.tasks.junit.TestResult findPreviousTestResult(Run<?,?> b)
-
-