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
    Modifier and Type
    Class
    Description
    static class 
     

    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
    Modifier and Type
    Field
    Description
    protected final hudson.tasks.junit.CaseResult
     

    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

    Constructors
    Constructor
    Description
    BlueJUnitTestResult(hudson.tasks.junit.CaseResult testResult, io.jenkins.blueocean.rest.hal.Link parent)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    float
     
     
     
     
    io.jenkins.blueocean.rest.model.BlueTestResult.Status
     
     
     
    io.jenkins.blueocean.rest.model.BlueTestResult.State
     
    protected String
     
    boolean
     

    Methods inherited from class io.jenkins.blueocean.rest.model.BlueTestResult

    getId, getLink

    Methods inherited from class io.jenkins.blueocean.rest.model.Resource

    getLinks, getState

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public String getName()
      Specified by:
      getName in class io.jenkins.blueocean.rest.model.BlueTestResult
    • getStatus

      public io.jenkins.blueocean.rest.model.BlueTestResult.Status getStatus()
      Specified by:
      getStatus in class io.jenkins.blueocean.rest.model.BlueTestResult
    • getTestState

      public io.jenkins.blueocean.rest.model.BlueTestResult.State getTestState()
      Specified by:
      getTestState in class io.jenkins.blueocean.rest.model.BlueTestResult
    • getDuration

      public float getDuration()
      Specified by:
      getDuration in class io.jenkins.blueocean.rest.model.BlueTestResult
    • getErrorStackTrace

      public String getErrorStackTrace()
      Specified by:
      getErrorStackTrace in class io.jenkins.blueocean.rest.model.BlueTestResult
    • getErrorDetails

      public String getErrorDetails()
      Specified by:
      getErrorDetails in class io.jenkins.blueocean.rest.model.BlueTestResult
    • getUniqueId

      protected String getUniqueId()
      Specified by:
      getUniqueId in class io.jenkins.blueocean.rest.model.BlueTestResult
    • getAge

      public int getAge()
      Specified by:
      getAge in class io.jenkins.blueocean.rest.model.BlueTestResult
    • getStdErr

      public String getStdErr()
      Specified by:
      getStdErr in class io.jenkins.blueocean.rest.model.BlueTestResult
    • getStdOut

      public String getStdOut()
      Specified by:
      getStdOut in class io.jenkins.blueocean.rest.model.BlueTestResult
    • hasStdLog

      public boolean hasStdLog()
      Specified by:
      hasStdLog in class io.jenkins.blueocean.rest.model.BlueTestResult