From a82ec9287070d501895545b446b62c93a4c6614c Mon Sep 17 00:00:00 2001 From: "luca.frosini" Date: Thu, 12 Apr 2018 12:46:43 +0000 Subject: [PATCH] Removed old test git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@166937 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../context/ContextManagementTest.java | 39 +------------------ 1 file changed, 1 insertion(+), 38 deletions(-) diff --git a/src/test/java/org/gcube/informationsystem/resourceregistry/context/ContextManagementTest.java b/src/test/java/org/gcube/informationsystem/resourceregistry/context/ContextManagementTest.java index c79891c..69f4077 100644 --- a/src/test/java/org/gcube/informationsystem/resourceregistry/context/ContextManagementTest.java +++ b/src/test/java/org/gcube/informationsystem/resourceregistry/context/ContextManagementTest.java @@ -1,9 +1,7 @@ package org.gcube.informationsystem.resourceregistry.context; import java.io.IOException; -import java.util.HashMap; import java.util.List; -import java.util.Map; import java.util.UUID; import org.gcube.informationsystem.impl.embedded.HeaderImpl; @@ -496,7 +494,7 @@ public class ContextManagementTest extends ScopedTest { delete(context); } - // @Test + @Test public void createDevContext() throws Exception { Context gcube = new ContextImpl("gcube"); gcube = create(gcube); @@ -526,39 +524,4 @@ public class ContextManagementTest extends ScopedTest { preVRE = create(preVRE); } - // @Test - public void createPARTHENOSContext() throws Exception { - // /d4science.research-infrastructures.eu/ParthenosVO/PARTHENOS_Registry - - Context d4science = new ContextImpl("d4science.research-infrastructures.eu"); - create(d4science); - - Context parthenosVO = new ContextImpl("ParthenosVO"); - parthenosVO.setParent(d4science); - create(parthenosVO); - - Context parthenosRegistry = new ContextImpl("PARTHENOS_Registry"); - parthenosRegistry.setParent(parthenosVO); - create(parthenosRegistry); - - } - - // @Test - public void createProductionMissingContext() throws Exception { - UUID d4ResearchUUID = UUID.fromString("8b926d1c-4460-4d7a-adab-c75ad2770a21"); - UUID farmUUID = UUID.fromString("dbafdb3e-f7f9-4039-ad1c-3432c041f53c"); - - Map contexts = new HashMap<>(); - contexts.put("ICES_FIACO2017", d4ResearchUUID); - contexts.put("D4STeam", farmUUID); - - for (String contextName : contexts.keySet()) { - Context parent = read(contexts.get(contextName)); - Context context = new ContextImpl(contextName); - context.setParent(parent); - create(context); - } - - } - }