Ejemplo n.º 1
0
 @After
 public void cleanUp() throws Exception {
   try {
     localCleanUp();
   } catch (Exception e) {
     e.printStackTrace();
     throw e;
   }
   cleanupSystem();
 }
Ejemplo n.º 2
0
 @Before
 public void setUp() throws Exception {
   initializeSystem();
   try {
     localReset();
   } catch (Exception e) {
     System.out.println("Warning: Preclean failed: " + e.getMessage());
   }
   try {
     localSetUp();
   } catch (Exception e) {
     e.printStackTrace();
     throw e;
   }
 }