Пример #1
0
 /**
  * Run the parent teardown, and then remove all the freshly created graphs.
  *
  * @throws
  */
 public void tearDown() {
   super.tearDown();
   if (current != null) current.removeAll();
   try {
     connection.close();
   } catch (Exception e) {
     throw new JenaException(e);
   }
 }
Пример #2
0
 public void setUp() { // order is import - super.setUp grabs a graph
   connection = TestConnection.makeAndCleanTestConnection();
   super.setUp();
 }