org.apache.maven.surefire.junit
Class TestListenerInvocationHandler

java.lang.Object
  extended by org.apache.maven.surefire.junit.TestListenerInvocationHandler
All Implemented Interfaces:
InvocationHandler

public class TestListenerInvocationHandler
extends Object
implements InvocationHandler

Invocation Handler for TestListener proxies to delegate to our RunListener


Constructor Summary
TestListenerInvocationHandler(org.apache.maven.surefire.report.RunListener reporter)
           
 
Method Summary
 void handleStartTest(Object[] args)
           
 Object invoke(Object proxy, Method method, Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestListenerInvocationHandler

public TestListenerInvocationHandler(org.apache.maven.surefire.report.RunListener reporter)
Method Detail

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface InvocationHandler
Throws:
Throwable

handleStartTest

public void handleStartTest(Object[] args)


Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.