|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface JUnit4Reporter<T extends JUnit4Reporter<T>>
JUnit4Reporter:s are used to configure how results from a JUnit4 test
run are reported.
Implementation note: The reporter provides information about how the
JUnit4Launcher should create a JUnit
RunListener. The RunListener
should have a zero- argument constructor and use Java system properties to
configure itself. What properties to use are in a contract between the
RunListener and its corresponding JUnit4Reporter class.
| 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. |
| Method Detail |
|---|
String getRunListenerClassName()
RunListener class.
Map<String,String> getJavaSystemProperties(List<String> testSuiteClasses)
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.
testSuiteClasses - A list of all test classes to run.
void validateConfiguration(Collection<String> errMsgs)
errMsgs - The collection to add error messages to.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||