Class WrappedReportEntry

  • All Implemented Interfaces:
    org.apache.maven.surefire.api.report.ReportEntry, org.apache.maven.surefire.api.report.TestSetReportEntry

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

      • WrappedReportEntry

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

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

      • getElapsed

        public java.lang.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
      • getStdout

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

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

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

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

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

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

        public java.lang.String getClassMethodName()
      • getGroup

        public java.lang.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 java.lang.String getMessage()
        Specified by:
        getMessage in interface org.apache.maven.surefire.api.report.ReportEntry
      • getStackTrace

        public java.lang.String getStackTrace​(boolean trimStackTrace)
      • elapsedTimeAsString

        public java.lang.String elapsedTimeAsString()
      • getOutput

        public java.lang.String getOutput​(boolean trimStackTrace)
      • getElapsedTimeVerbose

        public java.lang.String getElapsedTimeVerbose()
      • getElapsedTimeSummary

        public java.lang.String getElapsedTimeSummary()
      • isErrorOrFailure

        public boolean isErrorOrFailure()
      • isSkipped

        public boolean isSkipped()
      • isSucceeded

        public boolean isSucceeded()
      • getNameWithGroup

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

        public java.lang.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 java.lang.Long getTestRunId()
        Specified by:
        getTestRunId in interface org.apache.maven.surefire.api.report.ReportEntry
      • getSystemProperties

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