Class JUnit3Reflector
- java.lang.Object
-
- org.apache.maven.surefire.common.junit3.JUnit3Reflector
-
public final class JUnit3Reflector extends java.lang.Object
Reflection facade for JUnit3 classes
-
-
Constructor Summary
Constructors Constructor Description JUnit3Reflector(java.lang.ClassLoader testClassLoader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
constructTestObject(java.lang.Class testClass)
java.lang.reflect.Method
getAddListenerMethod()
java.lang.Class[]
getInterfacesImplementedByDynamicProxy()
java.lang.reflect.Method
getRunMethod(java.lang.Class<?> testClass)
java.lang.Class<?>
getTestInterface()
java.lang.reflect.Method
getTestInterfaceRunMethod()
java.lang.Class<?>
getTestResultClass()
boolean
isJUnit3Available()
-
-
-
Method Detail
-
constructTestObject
public java.lang.Object constructTestObject(java.lang.Class testClass) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.NoSuchMethodException, java.lang.InstantiationException
- Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.NoSuchMethodException
java.lang.InstantiationException
-
getInterfacesImplementedByDynamicProxy
public java.lang.Class[] getInterfacesImplementedByDynamicProxy()
-
getTestResultClass
public java.lang.Class<?> getTestResultClass()
-
getAddListenerMethod
public java.lang.reflect.Method getAddListenerMethod()
-
getTestInterfaceRunMethod
public java.lang.reflect.Method getTestInterfaceRunMethod()
-
getTestInterface
public java.lang.Class<?> getTestInterface()
-
getRunMethod
public java.lang.reflect.Method getRunMethod(java.lang.Class<?> testClass)
-
isJUnit3Available
public boolean isJUnit3Available()
-
-