package org.neo4j.rdf.sail; import org.junit.Test; import org.neo4j.graphdb.GraphDatabaseService; import org.neo4j.index.IndexService; import org.neo4j.rdf.store.CachingLuceneIndexService; import org.neo4j.rdf.store.RdfStore; import org.openrdf.sail.NotifyingSail; public class GraphDatabaseSailTest extends BaseSailTest { private RdfStore store = null; private GraphDatabaseService graphDb = null; private IndexService indexService = null; public static void main( String[] args ) throws Exception { BatchInserter.main( args ); } @Test public void testLoadGraphDbSail() { } @Override protected void before() { graphDb = TestUtils.createGraphDb(); indexService = new CachingLuceneIndexService( graphDb ); this.store = createStore( graphDb, indexService ); } @Override protected void tearDownSail() throws Exception { clearFulltextIndex(); super.tearDownSail(); } @Override protected void after() { indexService.shutdown(); graphDb.shutdown(); this.store = null; } @Override protected NotifyingSail createSail() throws Exception { return new GraphDatabaseSail( graphDb, store ); } @Override protected void deleteEntireNodeSpace() throws Exception { // TestUtils.deleteEntireNodeSpace( graphDb ); } }