Class JCoRecJUnitTestWatcher

  • All Implemented Interfaces:
    org.junit.rules.TestRule

    public class JCoRecJUnitTestWatcher
    extends org.junit.rules.TestWatcher
    Testwatcher for class SapcoreJCoRecJUnitTest.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void failed​(java.lang.Throwable e, org.junit.runner.Description description)  
      protected void succeeded​(org.junit.runner.Description description)  
      • Methods inherited from class org.junit.rules.TestWatcher

        apply, finished, skipped, skipped, starting
      • Methods inherited from class java.lang.Object

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

      • JCoRecJUnitTestWatcher

        public JCoRecJUnitTestWatcher​(SapcoreJCoRecJUnitTest parent)
        Parameters:
        parent - parent JUnitTest in order to inform if test has failed.
    • Method Detail

      • failed

        protected void failed​(java.lang.Throwable e,
                              org.junit.runner.Description description)
        Overrides:
        failed in class org.junit.rules.TestWatcher
      • succeeded

        protected void succeeded​(org.junit.runner.Description description)
        Overrides:
        succeeded in class org.junit.rules.TestWatcher