Class WrappedReportEntry

java.lang.Object
org.apache.maven.plugin.surefire.report.WrappedReportEntry
All Implemented Interfaces:
org.apache.maven.surefire.api.report.ReportEntry, org.apache.maven.surefire.api.report.TestSetReportEntry

public class WrappedReportEntry extends Object implements org.apache.maven.surefire.api.report.TestSetReportEntry
Author:
Kristian Rosenvold
  • Constructor Details

    • WrappedReportEntry

      public WrappedReportEntry(org.apache.maven.surefire.api.report.ReportEntry original, ReportEntryType reportEntryType, Integer estimatedElapsed, org.apache.maven.plugin.surefire.report.Utf8RecodingDeferredFileOutputStream stdout, org.apache.maven.plugin.surefire.report.Utf8RecodingDeferredFileOutputStream stdErr, Map<String,String> systemProperties)
    • WrappedReportEntry

      public WrappedReportEntry(org.apache.maven.surefire.api.report.ReportEntry original, ReportEntryType reportEntryType, Integer estimatedElapsed, org.apache.maven.plugin.surefire.report.Utf8RecodingDeferredFileOutputStream stdout, org.apache.maven.plugin.surefire.report.Utf8RecodingDeferredFileOutputStream stdErr)
  • Method Details

    • getElapsed

      public Integer getElapsed()
      Specified by:
      getElapsed in interface org.apache.maven.surefire.api.report.ReportEntry
    • getElapsed

      public int getElapsed(int fallback)
      Specified by:
      getElapsed in interface org.apache.maven.surefire.api.report.ReportEntry
    • getReportEntryType

      public ReportEntryType getReportEntryType()
    • getStdout

      public org.apache.maven.plugin.surefire.report.Utf8RecodingDeferredFileOutputStream getStdout()
    • getStdErr

      public org.apache.maven.plugin.surefire.report.Utf8RecodingDeferredFileOutputStream getStdErr()
    • getSourceName

      public String getSourceName()
      Specified by:
      getSourceName in interface org.apache.maven.surefire.api.report.ReportEntry
    • getSourceText

      public String getSourceText()
      Specified by:
      getSourceText in interface org.apache.maven.surefire.api.report.ReportEntry
    • getName

      public String getName()
      Specified by:
      getName in interface org.apache.maven.surefire.api.report.ReportEntry
    • getNameText

      public String getNameText()
      Specified by:
      getNameText in interface org.apache.maven.surefire.api.report.ReportEntry
    • getClassMethodName

      public String getClassMethodName()
    • getGroup

      public String getGroup()
      Specified by:
      getGroup in interface org.apache.maven.surefire.api.report.ReportEntry
    • getStackTraceWriter

      public org.apache.maven.surefire.api.report.StackTraceWriter getStackTraceWriter()
      Specified by:
      getStackTraceWriter in interface org.apache.maven.surefire.api.report.ReportEntry
    • getMessage

      public String getMessage()
      Specified by:
      getMessage in interface org.apache.maven.surefire.api.report.ReportEntry
    • getStackTrace

      public String getStackTrace(boolean trimStackTrace)
    • elapsedTimeAsString

      public String elapsedTimeAsString()
    • getOutput

      public String getOutput(boolean trimStackTrace)
    • getElapsedTimeVerbose

      public String getElapsedTimeVerbose()
    • getElapsedTimeSummary

      public String getElapsedTimeSummary()
    • isErrorOrFailure

      public boolean isErrorOrFailure()
    • isSkipped

      public boolean isSkipped()
    • isSucceeded

      public boolean isSucceeded()
    • getNameWithGroup

      public String getNameWithGroup()
      Specified by:
      getNameWithGroup in interface org.apache.maven.surefire.api.report.ReportEntry
    • getReportNameWithGroup

      public String getReportNameWithGroup()
      Specified by:
      getReportNameWithGroup in interface org.apache.maven.surefire.api.report.ReportEntry
    • getRunMode

      @Nonnull public org.apache.maven.surefire.api.report.RunMode getRunMode()
      Specified by:
      getRunMode in interface org.apache.maven.surefire.api.report.ReportEntry
    • getTestRunId

      public Long getTestRunId()
      Specified by:
      getTestRunId in interface org.apache.maven.surefire.api.report.ReportEntry
    • getSystemProperties

      public Map<String,String> getSystemProperties()
      Specified by:
      getSystemProperties in interface org.apache.maven.surefire.api.report.TestSetReportEntry