org.apache.maven.plugin.surefire.report
Class FileReporterFactory
java.lang.Object
org.apache.maven.plugin.surefire.report.FileReporterFactory
- All Implemented Interfaces:
- ReporterFactory
public class FileReporterFactory
- extends Object
- implements ReporterFactory
Provides RunListener implementations to the providers.
Keeps a centralized count of test run results.
- Author:
- Kristian Rosenvold
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileReporterFactory
public FileReporterFactory(StartupReportConfiguration reportConfiguration)
createReporter
public RunListener createReporter()
- Description copied from interface:
ReporterFactory
- Creates a reporter. The reporter is a singleton that is expected to be
used in the provider.
- Specified by:
createReporter
in interface ReporterFactory
- Returns:
- A reporter instance
close
public RunResult close()
- Description copied from interface:
ReporterFactory
- Closes the factory, freeing resources allocated in the factory.
- Specified by:
close
in interface ReporterFactory
- Returns:
- The run result
runStarting
public void runStarting()
getGlobalRunStatistics
public RunStatistics getGlobalRunStatistics()
- Specified by:
getGlobalRunStatistics
in interface ReporterFactory
Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.