org.apache.tools.ant.taskdefs.optional.junit
Class CustomJUnit4TestAdapterCache

java.lang.Object
  extended by JUnit4TestAdapterCache
      extended by org.apache.tools.ant.taskdefs.optional.junit.CustomJUnit4TestAdapterCache

public class CustomJUnit4TestAdapterCache
extends JUnit4TestAdapterCache

Provides a custom implementation of the notifier for a JUnit4TestAdapter so that skipped and ignored tests can be reported to the existing TestListeners.


Method Summary
static CustomJUnit4TestAdapterCache getInstance()
           
 RunNotifier getNotifier(TestResult result)
           
 RunNotifier getNotifier(TestResult result, JUnit4TestAdapter adapter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static CustomJUnit4TestAdapterCache getInstance()

getNotifier

public RunNotifier getNotifier(TestResult result,
                               JUnit4TestAdapter adapter)

getNotifier

public RunNotifier getNotifier(TestResult result)