Ejemplo n.º 1
0
 @BeforeClass
 public static void setupClass() {
   try {
     BlockStorageUnitTestSupport.setupBlockStoragePersistenceContext();
     BlockStorageUnitTestSupport.setupAuthPersistenceContext();
     BlockStorageUnitTestSupport.initializeAuth(1, 1);
   } catch (Exception e) {
     e.printStackTrace();
   }
 }
Ejemplo n.º 2
0
 @AfterClass
 public static void teardownClass() {
   BlockStorageUnitTestSupport.tearDownBlockStoragePersistenceContext();
   BlockStorageUnitTestSupport.tearDownAuthPersistenceContext();
 }
Ejemplo n.º 3
0
 @After
 public void teardown() {
   BlockStorageUnitTestSupport.flushBlockStorageEntities();
 }