|
|
|
@ -30,6 +30,15 @@ public class DataBaseCreator extends ContextTest {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//@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 {
|
|
|
|
|
ContextManagement contextManagement = new ContextManagement();
|
|
|
|
|
contextManagement.setJson(ElementMapper.marshal(context));
|
|
|
|
|