Пример #1
0
 /*
  * @see TestCase#setUp()
  */
 protected void setUp() throws Exception {
   hsqlDatabase1.start();
   hsqlDatabase2.start();
   nqp1.start();
   nqp2.start();
   cqp.start();
   logger.info("setUp done!");
   // org.pargres.cqp.connection.ConnectionManagerImpl.register();
 }
Пример #2
0
 /*
  * @see TestCase#tearDown()
  */
 protected void tearDown() throws Exception {
   //	System.out.println("TEAR DOWN!");
   cqp.stop();
   // System.out.println("TEAR DOWN 1!");
   nqp1.stop();
   // System.out.println("TEAR DOWN 2!");
   nqp2.stop();
   // System.out.println("TEAR DOWN 3!");
   hsqlDatabase1.stop();
   // System.out.println("TEAR DOWN 4!");
   hsqlDatabase2.stop();
   // System.out.println("TEAR DOWN 5!");
   // org.pargres.cqp.connection.ConnectionManagerImpl.unregister();
 }