Class WrappedReportEntry
java.lang.Object
org.apache.maven.plugin.surefire.report.WrappedReportEntry
- All Implemented Interfaces:
ReportEntry
,TestSetReportEntry
- Author:
- Kristian Rosenvold
-
Constructor Summary
ConstructorsConstructorDescriptionWrappedReportEntry
(ReportEntry original, ReportEntryType reportEntryType, Integer estimatedElapsed, org.apache.maven.plugin.surefire.report.Utf8RecodingDeferredFileOutputStream stdout, org.apache.maven.plugin.surefire.report.Utf8RecodingDeferredFileOutputStream stdErr) WrappedReportEntry
(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) -
Method Summary
Modifier and TypeMethodDescriptionint
getElapsed
(int fallback) getGroup()
getName()
getOutput
(boolean trimStackTrace) getStackTrace
(boolean trimStackTrace) org.apache.maven.plugin.surefire.report.Utf8RecodingDeferredFileOutputStream
org.apache.maven.plugin.surefire.report.Utf8RecodingDeferredFileOutputStream
boolean
boolean
boolean
-
Constructor Details
-
WrappedReportEntry
public WrappedReportEntry(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(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
- Specified by:
getElapsed
in interfaceReportEntry
-
getElapsed
public int getElapsed(int fallback) - Specified by:
getElapsed
in interfaceReportEntry
-
getReportEntryType
-
getStdout
public org.apache.maven.plugin.surefire.report.Utf8RecodingDeferredFileOutputStream getStdout() -
getStdErr
public org.apache.maven.plugin.surefire.report.Utf8RecodingDeferredFileOutputStream getStdErr() -
getSourceName
- Specified by:
getSourceName
in interfaceReportEntry
-
getSourceText
- Specified by:
getSourceText
in interfaceReportEntry
-
getName
- Specified by:
getName
in interfaceReportEntry
-
getNameText
- Specified by:
getNameText
in interfaceReportEntry
-
getClassMethodName
-
getGroup
- Specified by:
getGroup
in interfaceReportEntry
-
getStackTraceWriter
- Specified by:
getStackTraceWriter
in interfaceReportEntry
-
getMessage
- Specified by:
getMessage
in interfaceReportEntry
-
getStackTrace
-
elapsedTimeAsString
-
getOutput
-
getElapsedTimeVerbose
-
getElapsedTimeSummary
-
isErrorOrFailure
public boolean isErrorOrFailure() -
isSkipped
public boolean isSkipped() -
isSucceeded
public boolean isSucceeded() -
getNameWithGroup
- Specified by:
getNameWithGroup
in interfaceReportEntry
-
getReportNameWithGroup
- Specified by:
getReportNameWithGroup
in interfaceReportEntry
-
getRunMode
- Specified by:
getRunMode
in interfaceReportEntry
-
getTestRunId
- Specified by:
getTestRunId
in interfaceReportEntry
-
getSystemProperties
- Specified by:
getSystemProperties
in interfaceTestSetReportEntry
-