/** * Invoked from {@link TestCase#setUp()} for each test in the suite. */ protected void setUp(final ProxyTestCase testCase) throws Exception { begin = System.currentTimeMillis(); if (log.isInfoEnabled()) log.info("\n\n================:BEGIN:" + testCase.getName() + ":BEGIN:===================="); // @see BLZG-1501 (remove LRUNexus) // if (LRUNexus.INSTANCE != null) { // // flush everything before/after a unit test. // LRUNexus.INSTANCE.discardAllCaches(); // } }
/** * Close and then re-open the triple store. */ protected AbstractTripleStore reopenStore(AbstractTripleStore store) { return getOurDelegate().reopenStore(store); }
/** * Create a triple store instance using the delegate and using the * properties as configured by the delegate. */ protected AbstractTripleStore getStore() { return getOurDelegate().getStore(getProperties()); }
/** * The properties as configured by the delegate. */ public Properties getProperties() { return getOurDelegate().getProperties(); }
/** * Create a triple store instance using the delegate and using the * properties as configured by the delegate. */ protected AbstractTripleStore getStore() { return getOurDelegate().getStore(getProperties()); }
/** * Invoked from {@link TestCase#setUp()} for each test in the suite. */ protected void setUp(final ProxyTestCase testCase) throws Exception { begin = System.currentTimeMillis(); if (log.isInfoEnabled()) log.info("\n\n================:BEGIN:" + testCase.getName() + ":BEGIN:===================="); // @see BLZG-1501 (remove LRUNexus) // if (LRUNexus.INSTANCE != null) { // // flush everything before/after a unit test. // LRUNexus.INSTANCE.discardAllCaches(); // } }
/** * Create a triple store instance using the delegate using the specified * properties (typically overriding one or more properties). */ protected AbstractTripleStore getStore(Properties properties) { return getOurDelegate().getStore(properties); }
/** * Create a triple store instance using the delegate and using the * properties as configured by the delegate. */ protected AbstractTripleStore getStore() { return getOurDelegate().getStore(getProperties()); }
/** * 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); }
/** * The properties as configured by the delegate. */ public Properties getProperties() { return getOurDelegate().getProperties(); }
/** * 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); }
/** * Create a triple store instance using the delegate using the specified * properties (typically overriding one or more properties). */ protected AbstractTripleStore getStore(Properties properties) { return getOurDelegate().getStore(properties); }
/** * Invoked from {@link TestCase#setUp()} for each test in the suite. */ protected void setUp(final ProxyTestCase testCase) throws Exception { begin = System.currentTimeMillis(); if (log.isInfoEnabled()) log.info("\n\n================:BEGIN:" + testCase.getName() + ":BEGIN:===================="); // @see BLZG-1501 (remove LRUNexus) // if (LRUNexus.INSTANCE != null) { // // flush everything before/after a unit test. // LRUNexus.INSTANCE.discardAllCaches(); // } }
/** * Close and then re-open the triple store. */ protected AbstractTripleStore reopenStore(AbstractTripleStore store) { return getOurDelegate().reopenStore(store); }
final File dataDir = new File(testCase.getName());
protected void tearDown() throws Exception { getOurDelegate().tearDown(this); }
final File dataDir = new File(testCase.getName());
protected void setUp() throws Exception { getOurDelegate().setUp(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); }
protected void setUp() throws Exception { getOurDelegate().setUp(this); }