|
|
|
@ -20,20 +20,16 @@ public class DataBaseCreator extends ContextTest {
|
|
|
|
|
@Test
|
|
|
|
|
public void createDatabase() throws Exception {
|
|
|
|
|
ContextTest.setContextByName(PARENT_DEFAULT_TEST_SCOPE);
|
|
|
|
|
|
|
|
|
|
logger.debug("Going to create DB");
|
|
|
|
|
String db = DatabaseEnvironment.DB_URI;
|
|
|
|
|
logger.debug("{} created", db);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
|
public void createAllContext() throws Exception {
|
|
|
|
|
ContextTest.setContextByName(PARENT_DEFAULT_TEST_SCOPE);
|
|
|
|
|
|
|
|
|
|
ContextCreator contextCreator = new ContextCreator();
|
|
|
|
|
contextCreator.all();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected Context create(Context context) throws ResourceRegistryException, IOException {
|
|
|
|
|