Class JCoRecJUnitTestWatcher

java.lang.Object
org.junit.rules.TestWatcher
de.hybris.platform.sap.core.jco.rec.JCoRecJUnitTestWatcher
All Implemented Interfaces:
org.junit.rules.TestRule

public class JCoRecJUnitTestWatcher extends org.junit.rules.TestWatcher
Testwatcher for class SapcoreJCoRecJUnitTest.
  • Constructor Details

    • JCoRecJUnitTestWatcher

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

    • failed

      protected void failed(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