org.apache.maven.surefire.common.junit3
Class JUnit3Reflector

java.lang.Object
  extended by org.apache.maven.surefire.common.junit3.JUnit3Reflector

public final class JUnit3Reflector
extends Object


Constructor Summary
JUnit3Reflector(ClassLoader testClassLoader)
           
 
Method Summary
 Object constructTestObject(Class testClass)
           
 Method getAddListenerMethod()
           
 Class[] getInterfacesImplementedByDynamicProxy()
           
 Method getRunMethod(Class testClass)
           
 Class getTestInterface()
           
 Method getTestInterfaceRunMethod()
           
 Class getTestResultClass()
           
 boolean isJUnit3Available()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JUnit3Reflector

public JUnit3Reflector(ClassLoader testClassLoader)
Method Detail

constructTestObject

public Object constructTestObject(Class testClass)
                           throws IllegalAccessException,
                                  InvocationTargetException,
                                  NoSuchMethodException,
                                  InstantiationException
Throws:
IllegalAccessException
InvocationTargetException
NoSuchMethodException
InstantiationException

getInterfacesImplementedByDynamicProxy

public Class[] getInterfacesImplementedByDynamicProxy()

getTestResultClass

public Class getTestResultClass()

getAddListenerMethod

public Method getAddListenerMethod()

getTestInterfaceRunMethod

public Method getTestInterfaceRunMethod()

getTestInterface

public Class getTestInterface()

getRunMethod

public Method getRunMethod(Class testClass)

isJUnit3Available

public boolean isJUnit3Available()


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