Beispiel #1
0
 @AfterClass
 public static void shutdown() {
   try {
     if (graphdb != null) graphdb.shutdown();
   } finally {
     graphdb = null;
   }
 }
 @After
 public void stopDb() {
   if (tx != null) {
     tx.finish();
   }
   if (graphDb != null) {
     graphDb.shutdown();
   }
   tx = null;
   config = null;
   graphDb = null;
 }
 @After
 public void tearDown() throws Exception {
   gdb.shutdown();
 }
Beispiel #4
0
 @After
 public void doAfter() throws Exception {
   server.shutdown();
   db.shutdown();
 }