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

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

public class DefaultReporterFactory
extends Object
implements ReporterFactory

Provides reporting modules on the plugin side.

Keeps a centralized count of test run results.

Author:
Kristian Rosenvold

Constructor Summary
DefaultReporterFactory(StartupReportConfiguration reportConfiguration)
           
 
Method Summary
 RunResult close()
           
 RunListener createReporter()
           
 RunListener createTestSetRunListener()
           
static DefaultReporterFactory 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

DefaultReporterFactory

public DefaultReporterFactory(StartupReportConfiguration reportConfiguration)
Method Detail

createReporter

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

createTestSetRunListener

public RunListener createTestSetRunListener()

close

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

runStarting

public void runStarting()

getGlobalRunStatistics

public RunStatistics getGlobalRunStatistics()

defaultNoXml

public static DefaultReporterFactory defaultNoXml()


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