Class JUnitTestListener


  • public class JUnitTestListener
    extends org.junit.runner.notification.RunListener
    Logs JUnit test progress.
    Since:
    9.0
    Author:
    Dan Berindei
    • Constructor Detail

      • JUnitTestListener

        public JUnitTestListener()
    • Method Detail

      • testStarted

        public void testStarted​(org.junit.runner.Description description)
                         throws Exception
        Overrides:
        testStarted in class org.junit.runner.notification.RunListener
        Throws:
        Exception
      • testFinished

        public void testFinished​(org.junit.runner.Description description)
                          throws Exception
        Overrides:
        testFinished in class org.junit.runner.notification.RunListener
        Throws:
        Exception
      • testFailure

        public void testFailure​(org.junit.runner.notification.Failure failure)
                         throws Exception
        Overrides:
        testFailure in class org.junit.runner.notification.RunListener
        Throws:
        Exception
      • testIgnored

        public void testIgnored​(org.junit.runner.Description description)
                         throws Exception
        Overrides:
        testIgnored in class org.junit.runner.notification.RunListener
        Throws:
        Exception
      • testAssumptionFailure

        public void testAssumptionFailure​(org.junit.runner.notification.Failure failure)
        Overrides:
        testAssumptionFailure in class org.junit.runner.notification.RunListener
      • testRunStarted

        public void testRunStarted​(org.junit.runner.Description description)
                            throws Exception
        Overrides:
        testRunStarted in class org.junit.runner.notification.RunListener
        Throws:
        Exception
      • testRunFinished

        public void testRunFinished​(org.junit.runner.Result result)
        Overrides:
        testRunFinished in class org.junit.runner.notification.RunListener