org.schmant.task.junit4
Class JUnit4SimpleReporter

java.lang.Object
  extended by org.schmant.task.junit4.JUnit4SimpleReporter
All Implemented Interfaces:
JUnit4Reporter<JUnit4SimpleReporter>

public class JUnit4SimpleReporter
extends Object
implements JUnit4Reporter<JUnit4SimpleReporter>

This reporter defines the SimpleRunListener.

Since:
0.5
Author:
Karl Gustafsson
See Also:
SimpleRunListener
Task_package:
org.junit.junit4

Field Summary
static JUnit4SimpleReporter INSTANCE
           
 
Constructor Summary
JUnit4SimpleReporter()
           
 
Method Summary
 Map<String,String> getJavaSystemProperties(List<String> testSuiteClasses)
          Get the Map of Java system properties that the RunListener will use to configure itself.
 String getRunListenerClassName()
          Get the fully qualified name of the RunListener class.
 void validateConfiguration(Collection<String> errMsgs)
          Validate the configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final JUnit4SimpleReporter INSTANCE
Constructor Detail

JUnit4SimpleReporter

public JUnit4SimpleReporter()
Method Detail

getRunListenerClassName

public String getRunListenerClassName()
Description copied from interface: JUnit4Reporter
Get the fully qualified name of the RunListener class.

Specified by:
getRunListenerClassName in interface JUnit4Reporter<JUnit4SimpleReporter>
Returns:
The fully qualified class name.

getJavaSystemProperties

public Map<String,String> getJavaSystemProperties(List<String> testSuiteClasses)
Description copied from interface: JUnit4Reporter
Get the Map of Java system properties that the RunListener will use to configure itself. This method may return null if the RunListener does not use any properties.

Specified by:
getJavaSystemProperties in interface JUnit4Reporter<JUnit4SimpleReporter>
Parameters:
testSuiteClasses - A list of all test classes to run.
Returns:
null

validateConfiguration

public void validateConfiguration(Collection<String> errMsgs)
Description copied from interface: JUnit4Reporter
Validate the configuration. Add error messages to the supplied collection.

Specified by:
validateConfiguration in interface JUnit4Reporter<JUnit4SimpleReporter>
Parameters:
errMsgs - The collection to add error messages to.