Class TestClass


  • @Deprecated
    public class TestClass
    extends java.lang.Object
    Deprecated.
    Included for backwards compatibility with JUnit 4.4. Will be removed in the next major release. Please use BlockJUnit4ClassRunner in place of JUnit4ClassRunner.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Class<?> klass
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      TestClass​(java.lang.Class<?> klass)
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      (package private) java.util.List<java.lang.reflect.Method> getAfters()
      Deprecated.
       
      java.util.List<java.lang.reflect.Method> getAnnotatedMethods​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
      Deprecated.
       
      (package private) java.util.List<java.lang.reflect.Method> getBefores()
      Deprecated.
       
      java.lang.reflect.Constructor<?> getConstructor()
      Deprecated.
       
      java.lang.Class<?> getJavaClass()
      Deprecated.
       
      java.lang.String getName()
      Deprecated.
       
      private java.util.List<java.lang.Class<?>> getSuperClasses​(java.lang.Class<?> testClass)
      Deprecated.
       
      java.util.List<java.lang.reflect.Method> getTestMethods()
      Deprecated.
       
      private boolean isShadowed​(java.lang.reflect.Method current, java.lang.reflect.Method previous)
      Deprecated.
       
      private boolean isShadowed​(java.lang.reflect.Method method, java.util.List<java.lang.reflect.Method> results)
      Deprecated.
       
      private boolean runsTopToBottom​(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • klass

        private final java.lang.Class<?> klass
        Deprecated.
    • Constructor Detail

      • TestClass

        public TestClass​(java.lang.Class<?> klass)
        Deprecated.
    • Method Detail

      • getTestMethods

        public java.util.List<java.lang.reflect.Method> getTestMethods()
        Deprecated.
      • getBefores

        java.util.List<java.lang.reflect.Method> getBefores()
        Deprecated.
      • getAfters

        java.util.List<java.lang.reflect.Method> getAfters()
        Deprecated.
      • getAnnotatedMethods

        public java.util.List<java.lang.reflect.Method> getAnnotatedMethods​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
        Deprecated.
      • runsTopToBottom

        private boolean runsTopToBottom​(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
        Deprecated.
      • isShadowed

        private boolean isShadowed​(java.lang.reflect.Method method,
                                   java.util.List<java.lang.reflect.Method> results)
        Deprecated.
      • isShadowed

        private boolean isShadowed​(java.lang.reflect.Method current,
                                   java.lang.reflect.Method previous)
        Deprecated.
      • getSuperClasses

        private java.util.List<java.lang.Class<?>> getSuperClasses​(java.lang.Class<?> testClass)
        Deprecated.
      • getConstructor

        public java.lang.reflect.Constructor<?> getConstructor()
                                                        throws java.lang.SecurityException,
                                                               java.lang.NoSuchMethodException
        Deprecated.
        Throws:
        java.lang.SecurityException
        java.lang.NoSuchMethodException
      • getJavaClass

        public java.lang.Class<?> getJavaClass()
        Deprecated.
      • getName

        public java.lang.String getName()
        Deprecated.