org.apache.maven.plugin.surefire.report
Class FileReporterFactory

java.lang.Object
  extended by org.apache.maven.plugin.surefire.report.FileReporterFactory
All Implemented Interfaces:
ReporterFactory

public class FileReporterFactory
extends java.lang.Object
implements ReporterFactory

Provides RunListener implementations to the providers.

Keeps a centralized count of test run results.

Author:
Kristian Rosenvold

Constructor Summary
FileReporterFactory(StartupReportConfiguration reportConfiguration)
           
 
Method Summary
 RunResult close()
           
 RunListener createReporter()
           
static FileReporterFactory defaultNoXml()
           
 RunStatistics getGlobalRunStatistics()
           
 void runStarting()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileReporterFactory

public FileReporterFactory(StartupReportConfiguration reportConfiguration)
Method Detail

createReporter

public RunListener createReporter()
Specified by:
createReporter in interface ReporterFactory

close

public RunResult close()
Specified by:
close in interface ReporterFactory

runStarting

public void runStarting()

getGlobalRunStatistics

public RunStatistics getGlobalRunStatistics()
Specified by:
getGlobalRunStatistics in interface ReporterFactory

defaultNoXml

public static FileReporterFactory defaultNoXml()


Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.