Cleaning code
This commit is contained in:
parent
66c53f58eb
commit
32a5665e7c
|
@ -20,20 +20,16 @@ public class DataBaseCreator extends ContextTest {
|
||||||
@Test
|
@Test
|
||||||
public void createDatabase() throws Exception {
|
public void createDatabase() throws Exception {
|
||||||
ContextTest.setContextByName(PARENT_DEFAULT_TEST_SCOPE);
|
ContextTest.setContextByName(PARENT_DEFAULT_TEST_SCOPE);
|
||||||
|
|
||||||
logger.debug("Going to create DB");
|
logger.debug("Going to create DB");
|
||||||
String db = DatabaseEnvironment.DB_URI;
|
String db = DatabaseEnvironment.DB_URI;
|
||||||
logger.debug("{} created", db);
|
logger.debug("{} created", db);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void createAllContext() throws Exception {
|
public void createAllContext() throws Exception {
|
||||||
ContextTest.setContextByName(PARENT_DEFAULT_TEST_SCOPE);
|
ContextTest.setContextByName(PARENT_DEFAULT_TEST_SCOPE);
|
||||||
|
|
||||||
ContextCreator contextCreator = new ContextCreator();
|
ContextCreator contextCreator = new ContextCreator();
|
||||||
contextCreator.all();
|
contextCreator.all();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected Context create(Context context) throws ResourceRegistryException, IOException {
|
protected Context create(Context context) throws ResourceRegistryException, IOException {
|
||||||
|
|
Loading…
Reference in New Issue