Fixed tests

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-context-client@171262 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2018-09-03 08:43:42 +00:00
parent d924a790a2
commit a8a9b35e98
1 changed files with 106 additions and 84 deletions

View File

@ -164,7 +164,6 @@ public class ResourceRegistryContextClientTest extends ScopedTest {
logger.debug(ISMapper.marshal(gcube));
}
@Test
public void completeTest() throws Exception {
Context contextA1 = new ContextImpl(CTX_NAME_A);
@ -365,6 +364,29 @@ public class ResourceRegistryContextClientTest extends ScopedTest {
}
}
@Test
public void createDissertationContext() throws Exception {
Context d4science = new ContextImpl("d4science");
d4science = create(d4science);
Context soBigData = new ContextImpl("SoBigData");
soBigData.setParent(d4science);
soBigData = create(soBigData);
Context tagMe = new ContextImpl("TagMe");
tagMe.setParent(soBigData);
tagMe = create(tagMe);
Context blueBRIDGE = new ContextImpl("BlueBRIDGE");
blueBRIDGE.setParent(d4science);
blueBRIDGE = create(blueBRIDGE);
Context biodiversityLab = new ContextImpl("Biodiversity Lab");
biodiversityLab.setParent(blueBRIDGE);
biodiversityLab = create(biodiversityLab);
}
// @Test
public void createDevContext() throws Exception {
Context gcube = new ContextImpl("gcube");