Class JUnit38ClassRunner

    • Field Detail

      • test

        private volatile Test test
    • Constructor Detail

      • JUnit38ClassRunner

        public JUnit38ClassRunner​(java.lang.Class<?> klass)
      • JUnit38ClassRunner

        public JUnit38ClassRunner​(Test test)
    • Method Detail

      • run

        public void run​(RunNotifier notifier)
        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
      • makeDescription

        private static Description makeDescription​(Test test)
      • getAnnotations

        private static java.lang.annotation.Annotation[] getAnnotations​(TestCase test)
        Get the annotations associated with given TestCase.
        Parameters:
        test - the TestCase.
      • createSuiteDescription

        private static java.lang.String createSuiteDescription​(TestSuite ts)
      • sort

        public void sort​(Sorter sorter)
        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
      • setTest

        private void setTest​(Test test)
      • getTest

        private Test getTest()