Class JUnit4ClassRunner

    • Field Detail

      • testMethods

        private final java.util.List<java.lang.reflect.Method> testMethods
        Deprecated.
      • testClass

        private TestClass testClass
        Deprecated.
    • Method Detail

      • getTestMethods

        protected java.util.List<java.lang.reflect.Method> getTestMethods()
        Deprecated.
      • run

        public void run​(RunNotifier notifier)
        Deprecated.
        Description copied from class: Runner
        Run the tests for this runner.
        Specified by:
        run in class Runner
        Parameters:
        notifier - will be notified of events while tests are being run--tests being started, finishing, and failing
      • runMethods

        protected void runMethods​(RunNotifier notifier)
        Deprecated.
      • classAnnotations

        protected java.lang.annotation.Annotation[] classAnnotations()
        Deprecated.
      • getName

        protected java.lang.String getName()
        Deprecated.
      • createTest

        protected java.lang.Object createTest()
                                       throws java.lang.Exception
        Deprecated.
        Throws:
        java.lang.Exception
      • invokeTestMethod

        protected void invokeTestMethod​(java.lang.reflect.Method method,
                                        RunNotifier notifier)
        Deprecated.
      • testAborted

        private void testAborted​(RunNotifier notifier,
                                 Description description,
                                 java.lang.Throwable e)
        Deprecated.
      • wrapMethod

        protected TestMethod wrapMethod​(java.lang.reflect.Method method)
        Deprecated.
      • testName

        protected java.lang.String testName​(java.lang.reflect.Method method)
        Deprecated.
      • methodDescription

        protected Description methodDescription​(java.lang.reflect.Method method)
        Deprecated.
      • testAnnotations

        protected java.lang.annotation.Annotation[] testAnnotations​(java.lang.reflect.Method method)
        Deprecated.
      • sort

        public void sort​(Sorter sorter)
        Deprecated.
        Description copied from interface: Sortable
        Sorts the tests using sorter
        Specified by:
        sort in interface Sortable
        Parameters:
        sorter - the Sorter to use for sorting the tests
      • getTestClass

        protected TestClass getTestClass()
        Deprecated.