Class JUnit3Reflector


  • public final class JUnit3Reflector
    extends java.lang.Object
    Reflection facade for JUnit3 classes
    • Constructor Detail

      • JUnit3Reflector

        public JUnit3Reflector​(java.lang.ClassLoader testClassLoader)
    • 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()