Class FileReporter
- java.lang.Object
-
- org.apache.maven.surefire.extensions.StatelessTestsetInfoFileReportEventListener<WrappedReportEntry,TestSetStats>
-
- org.apache.maven.plugin.surefire.report.FileReporter
-
- Direct Known Subclasses:
NullFileReporter
public class FileReporter extends StatelessTestsetInfoFileReportEventListener<WrappedReportEntry,TestSetStats>
Base class for file reporters.
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
usePhrasedClassNameInRunning
private boolean
usePhrasedClassNameInTestCaseSummary
private boolean
usePhrasedFileName
-
Constructor Summary
Constructors Constructor Description FileReporter(java.io.File reportsDirectory, java.lang.String reportNameSuffix, java.nio.charset.Charset encoding, boolean usePhrasedFileName, boolean usePhrasedClassNameInRunning, boolean usePhrasedClassNameInTestCaseSummary)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static java.io.BufferedWriter
createFileReporterWriter(java.io.File reportFile, java.nio.charset.Charset encoding)
(package private) static java.io.File
getReportFile(java.io.File reportsDirectory, java.lang.String reportEntryName, java.lang.String reportNameSuffix, java.lang.String fileExtension)
void
testSetCompleted(WrappedReportEntry report, TestSetStats testSetStats, java.util.List<java.lang.String> testResults)
-
Methods inherited from class org.apache.maven.surefire.extensions.StatelessTestsetInfoFileReportEventListener
getEncoding, getReportNameSuffix, getReportsDirectory
-
-
-
-
Method Detail
-
getReportFile
static java.io.File getReportFile(java.io.File reportsDirectory, java.lang.String reportEntryName, java.lang.String reportNameSuffix, java.lang.String fileExtension)
-
testSetCompleted
public void testSetCompleted(WrappedReportEntry report, TestSetStats testSetStats, java.util.List<java.lang.String> testResults)
- Specified by:
testSetCompleted
in classStatelessTestsetInfoFileReportEventListener<WrappedReportEntry,TestSetStats>
-
createFileReporterWriter
private static java.io.BufferedWriter createFileReporterWriter(java.io.File reportFile, java.nio.charset.Charset encoding) throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
-
-