Esempio n. 1
0
 protected void setUp() {
   try {
     new MySQLDB();
     SQLDB.startDatabase();
     SQLDB.registerDatabase();
     SQLDB.cleanDatabase();
   } catch (Exception e) {
     e.printStackTrace();
     System.exit(-1);
   }
   PlanWorksTest.TEST_RUNNING = 2;
 }
Esempio n. 2
0
 protected void tearDown() {
   SQLDB.cleanDatabase();
   PlanWorksTest.TEST_RUNNING = 0;
 }