/** * Verify that any journal created by the test have been destroyed. * <p> * Note: This clears the counter as a side effect to prevent a cascade * of tests from being failed. */ public static void checkJournalsClosed(final TestCase test) { checkJournalsClosed(test, null/*delegate*/); }
/** * Verify that any journal created by the test have been destroyed. * <p> * Note: This clears the counter as a side effect to prevent a cascade * of tests from being failed. */ public static void checkJournalsClosed(final TestCase test) { checkJournalsClosed(test, null/*delegate*/); }
/** * Invoked from {@link TestCase#setUp()} for each test in the suite. */ @Override public void setUp(final ProxyTestCase<Journal> testCase) throws Exception { super.setUp(testCase); TestHelper.checkJournalsClosed(testCase, this); // if(log.isInfoEnabled()) // log.info("\n\n================:BEGIN:" + testCase.getName() // + ":BEGIN:===================="); }
@Override protected void tearDown() throws Exception { super.tearDown(); r = null; TestHelper.checkJournalsClosed(this); }
/** * Invoked from {@link TestCase#tearDown()} for each test in the suite. */ protected void tearDown(ProxyBigdataSailTestCase testCase) throws Exception { final long elapsed = System.currentTimeMillis() - begin; if (log.isInfoEnabled()) log.info("\n================:END:" + testCase.getName() + " (" + elapsed + "ms):END:====================\n"); TestHelper.checkJournalsClosed(testCase, this); }
/** * Invoked from {@link TestCase#tearDown()} for each test in the suite. */ public void tearDown(final ProxyTestCase<S> testCase) throws Exception { if(log.isInfoEnabled()) log.info("\n================:END:" + testCase.getName() + ":END:====================\n"); TestHelper.checkJournalsClosed(testCase, this); }
@Override public void tearDown() throws Exception { TestHelper.checkJournalsClosed(this); super.tearDown(); }
@Override protected void tearDown() throws Exception { super.tearDown(); r = null; TestHelper.checkJournalsClosed(this); }
@Override public void tearDown() throws Exception { TestHelper.checkJournalsClosed(this); super.tearDown(); }
/** * Invoked from {@link TestCase#setUp()} for each test in the suite. */ @Override public void setUp(final ProxyTestCase<Journal> testCase) throws Exception { super.setUp(testCase); TestHelper.checkJournalsClosed(testCase, this); // if(log.isInfoEnabled()) // log.info("\n\n================:BEGIN:" + testCase.getName() // + ":BEGIN:===================="); }
/** * Invoked from {@link TestCase#tearDown()} for each test in the suite. */ public void tearDown(final ProxyTestCase<S> testCase) throws Exception { if(log.isInfoEnabled()) log.info("\n================:END:" + testCase.getName() + ":END:====================\n"); TestHelper.checkJournalsClosed(testCase, this); }
/** * Invoked from {@link TestCase#tearDown()} for each test in the suite. */ protected void tearDown(final ProxyTestCase testCase) throws Exception { // @see BLZG-1501 (remove LRUNexus) // if (LRUNexus.INSTANCE != null) { // // flush everything before/after a unit test. // LRUNexus.INSTANCE.discardAllCaches(); // } final long elapsed = System.currentTimeMillis() - begin; if (log.isInfoEnabled()) log.info("\n================:END:" + testCase.getName() + " ("+elapsed+"ms):END:====================\n"); TestHelper.checkJournalsClosed(testCase, this); }
/** * Invoked from {@link TestCase#tearDown()} for each test in the suite. */ protected void tearDown(final ProxyTestCase testCase) throws Exception { // @see BLZG-1501 (remove LRUNexus) // if (LRUNexus.INSTANCE != null) { // // flush everything before/after a unit test. // LRUNexus.INSTANCE.discardAllCaches(); // } final long elapsed = System.currentTimeMillis() - begin; if (log.isInfoEnabled()) log.info("\n================:END:" + testCase.getName() + " ("+elapsed+"ms):END:====================\n"); TestHelper.checkJournalsClosed(testCase, this); }
public void tearDown() throws Exception { TestHelper.checkJournalsClosed(this);
public void tearDown() throws Exception { TestHelper.checkJournalsClosed(this);
/** * Invoked from {@link TestCase#tearDown()} for each test in the suite. */ protected void tearDown(ProxyBigdataSailTestCase testCase) throws Exception { final long elapsed = System.currentTimeMillis() - begin; if (log.isInfoEnabled()) log.info("\n================:END:" + testCase.getName() + " (" + elapsed + "ms):END:====================\n"); TestHelper.checkJournalsClosed(testCase, this); }
/** * Invoked from {@link TestCase#tearDown()} for each test in the suite. */ protected void tearDown(final ProxyTestCase testCase) throws Exception { // @see BLZG-1501 (remove LRUNexus) // if (LRUNexus.INSTANCE != null) { // // flush everything before/after a unit test. // LRUNexus.INSTANCE.discardAllCaches(); // } final long elapsed = System.currentTimeMillis() - begin; if (log.isInfoEnabled()) log.info("\n================:END:" + testCase.getName() + " ("+elapsed+"ms):END:====================\n"); TestHelper.checkJournalsClosed(testCase, this); }