Class BlueJUnitTestResult
java.lang.Object
io.jenkins.blueocean.rest.model.Resource
io.jenkins.blueocean.rest.model.BlueTestResult
io.jenkins.blueocean.service.embedded.rest.junit.BlueJUnitTestResult
- All Implemented Interfaces:
io.jenkins.blueocean.rest.Reachable
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public class BlueJUnitTestResult
extends io.jenkins.blueocean.rest.model.BlueTestResult
TODO: move to junit plugin
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jenkins.blueocean.rest.model.BlueTestResult
io.jenkins.blueocean.rest.model.BlueTestResult.State, io.jenkins.blueocean.rest.model.BlueTestResult.Status
-
Field Summary
Fields inherited from class io.jenkins.blueocean.rest.model.BlueTestResult
AGE, DURATION, ERROR_DETAILS, ERROR_STACK_TRACE, HAS_STDLOG, ID, NAME, parent, STATE, STATUS, STDERR, STDOUT
-
Constructor Summary
ConstructorDescriptionBlueJUnitTestResult
(hudson.tasks.junit.CaseResult testResult, io.jenkins.blueocean.rest.hal.Link parent) -
Method Summary
Methods inherited from class io.jenkins.blueocean.rest.model.BlueTestResult
getId, getLink
Methods inherited from class io.jenkins.blueocean.rest.model.Resource
getLinks, getState
-
Field Details
-
testResult
protected final hudson.tasks.junit.CaseResult testResult
-
-
Constructor Details
-
BlueJUnitTestResult
public BlueJUnitTestResult(hudson.tasks.junit.CaseResult testResult, io.jenkins.blueocean.rest.hal.Link parent)
-
-
Method Details
-
getName
- Specified by:
getName
in classio.jenkins.blueocean.rest.model.BlueTestResult
-
getStatus
public io.jenkins.blueocean.rest.model.BlueTestResult.Status getStatus()- Specified by:
getStatus
in classio.jenkins.blueocean.rest.model.BlueTestResult
-
getTestState
public io.jenkins.blueocean.rest.model.BlueTestResult.State getTestState()- Specified by:
getTestState
in classio.jenkins.blueocean.rest.model.BlueTestResult
-
getDuration
public float getDuration()- Specified by:
getDuration
in classio.jenkins.blueocean.rest.model.BlueTestResult
-
getErrorStackTrace
- Specified by:
getErrorStackTrace
in classio.jenkins.blueocean.rest.model.BlueTestResult
-
getErrorDetails
- Specified by:
getErrorDetails
in classio.jenkins.blueocean.rest.model.BlueTestResult
-
getUniqueId
- Specified by:
getUniqueId
in classio.jenkins.blueocean.rest.model.BlueTestResult
-
getAge
public int getAge()- Specified by:
getAge
in classio.jenkins.blueocean.rest.model.BlueTestResult
-
getStdErr
- Specified by:
getStdErr
in classio.jenkins.blueocean.rest.model.BlueTestResult
-
getStdOut
- Specified by:
getStdOut
in classio.jenkins.blueocean.rest.model.BlueTestResult
-
hasStdLog
public boolean hasStdLog()- Specified by:
hasStdLog
in classio.jenkins.blueocean.rest.model.BlueTestResult
-