@Override public void addTest(final Test test) { for (final ProxyTestSuite s:subs) { s.addTest(cloneTest(s.getDelegate(),test)); } } }
@SuppressWarnings("rawtypes") @Override protected void tearDown() throws Exception { ((TestNanoSparqlServerWithProxyIndexManager)suite2.getDelegate()).tearDownAfterSuite(); /* * Note: Do not clear. Will not leak unless the * QueryEngine objects are pinned. They will not be * pinned if you shutdown the Journal correctly for each * test; the call to tearDownAfterSuite above calls the destroy() method * on temporary journals, which appears to do the necessary thing. */ // QueryEngineFactory.clearStandAloneQECacheDuringTesting(); } });
@Override public void addTest(final Test test) { for (final ProxyTestSuite s:subs) { s.addTest(cloneTest(s.getDelegate(),test)); } } }
@SuppressWarnings("rawtypes") @Override protected void tearDown() throws Exception { ((TestNanoSparqlServerWithProxyIndexManager)suite2.getDelegate()).tearDownAfterSuite(); /* * Note: Do not clear. Will not leak unless the * QueryEngine objects are pinned. They will not be * pinned if you shutdown the Journal correctly for each * test; the call to tearDownAfterSuite above calls the destroy() method * on temporary journals, which appears to do the necessary thing. */ // QueryEngineFactory.clearStandAloneQECacheDuringTesting(); } });