/** * Test loads an RDF/XML resource into a database and then verifies by * re-parse that all expected statements were made persistent in the * database. * * @param resource * * @throws Exception */ protected void doLoadAndVerifyTest(final String resource, final boolean parallel) throws Exception { AbstractTripleStore store = getStore(); try { doLoad(store, resource, parallel); store.commit(); if (store.isStable()) { store = reopenStore(store); } doVerify(store, resource, parallel); } finally { store.__tearDownUnitTest(); } }
/** * Test loads an RDF/XML resource into a database and then verifies by * re-parse that all expected statements were made persistent in the * database. * * @param resource * * @throws Exception */ protected void doLoadAndVerifyTest(final String resource, final boolean parallel) throws Exception { AbstractTripleStore store = getStore(); try { doLoad(store, resource, parallel); store.commit(); if (store.isStable()) { store = reopenStore(store); } doVerify(store, resource, parallel); } finally { store.__tearDownUnitTest(); } }
/** * Test loads an RDF/XML resource into a database and then verifies by * re-parse that all expected statements were made persistent in the * database. * * @param resource * * @throws Exception */ protected void doLoadAndVerifyTest(final String resource, final boolean parallel) throws Exception { AbstractTripleStore store = getStore(); try { doLoad(store, resource, parallel); store.commit(); if (store.isStable()) { store = reopenStore(store); } doVerify(store, resource, parallel); } finally { store.__tearDownUnitTest(); } }