Class JUnitCoreRunListener

    • Field Detail

      • classMethodCounts

        private final java.util.Map<java.lang.String,​TestSet> classMethodCounts
    • Constructor Detail

      • JUnitCoreRunListener

        JUnitCoreRunListener​(ConcurrentRunListener reporter,
                             java.util.Map<java.lang.String,​TestSet> classMethodCounts)
        Parameters:
        reporter - the report manager to log testing events to
        classMethodCounts - A map of methods
    • Method Detail

      • testRunStarted

        public void testRunStarted​(org.junit.runner.Description description)
                            throws java.lang.Exception
        Called right before any tests from a specific class are run.
        Overrides:
        testRunStarted in class org.junit.runner.notification.RunListener
        Throws:
        java.lang.Exception
        See Also:
        RunListener.testRunStarted(org.junit.runner.Description)
      • testRunFinished

        public void testRunFinished​(org.junit.runner.Result result)
                             throws java.lang.Exception
        Overrides:
        testRunFinished in class org.junit.runner.notification.RunListener
        Throws:
        java.lang.Exception
      • fillTestCountMap

        private void fillTestCountMap​(org.junit.runner.Description testDesc)
      • asTestLeaf

        private boolean asTestLeaf​(org.junit.runner.Description description)