Class LogRunListener


  • public class LogRunListener
    extends org.junit.runner.notification.RunListener
    Logs start and end of each test run.
    Since:
    3.0-u3
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.junit.runner.notification.RunListener

        org.junit.runner.notification.RunListener.ThreadSafe
    • Constructor Summary

      Constructors 
      Constructor Description
      LogRunListener()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void testFailure​(org.junit.runner.notification.Failure failure)  
      void testFinished​(org.junit.runner.Description description)  
      void testRunFinished​(org.junit.runner.Result result)  
      void testRunStarted​(org.junit.runner.Description description)  
      void testStarted​(org.junit.runner.Description description)  
      • Methods inherited from class org.junit.runner.notification.RunListener

        testAssumptionFailure, testIgnored
      • Methods inherited from class java.lang.Object

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

      • LogRunListener

        public LogRunListener()
    • Method Detail

      • testRunStarted

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

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

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

        public void testFinished​(org.junit.runner.Description description)
                          throws java.lang.Exception
        Overrides:
        testFinished in class org.junit.runner.notification.RunListener
        Throws:
        java.lang.Exception
      • 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