From e7804b599b99c7725bad2c81737f4ef955385a76 Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Wed, 17 Jul 2019 15:23:40 +0200 Subject: [PATCH] Commented Tests requiring token --- .../gcube/storagehub/StorageHubManagementTest.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/test/java/org/gcube/storagehub/StorageHubManagementTest.java b/src/test/java/org/gcube/storagehub/StorageHubManagementTest.java index cb05135..88a1aef 100644 --- a/src/test/java/org/gcube/storagehub/StorageHubManagementTest.java +++ b/src/test/java/org/gcube/storagehub/StorageHubManagementTest.java @@ -16,7 +16,6 @@ import org.gcube.common.storagehub.client.dsl.FolderContainer; import org.gcube.common.storagehub.client.dsl.OpenResolver; import org.gcube.common.storagehub.model.Metadata; import org.gcube.common.storagehub.model.service.Version; -import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -24,7 +23,7 @@ public class StorageHubManagementTest extends ContextTest { private static final Logger logger = LoggerFactory.getLogger(StorageHubManagementTest.class); - @Test + //@Test public void testHL() throws Exception { ApplicationMode applicationMode = new ApplicationMode(ContextTest.GCUBE_PRE_PROD_PREVRE_APP_TOKEN); applicationMode.start(); @@ -44,7 +43,7 @@ public class StorageHubManagementTest extends ContextTest { } } - @Test + //@Test public void myTest() throws Exception { ApplicationMode applicationMode = new ApplicationMode(ContextTest.GCUBE_PRE_PROD_PREVRE_APP_TOKEN); applicationMode.start(); @@ -53,7 +52,7 @@ public class StorageHubManagementTest extends ContextTest { logger.debug("Context Folder ID : {} - Name : {}", contextFolder.getId(), contextFolder.get().getName()); } - @Test + //@Test public void test() throws Exception { ApplicationMode applicationMode = new ApplicationMode(ContextTest.GCUBE_PRE_PROD_PREVRE_APP_TOKEN); applicationMode.start(); @@ -69,7 +68,7 @@ public class StorageHubManagementTest extends ContextTest { applicationMode.end(); } - @Test + //@Test public void listFolders() throws Exception { ApplicationMode applicationMode = new ApplicationMode(ContextTest.GCUBE_PRE_PROD_PREVRE_APP_TOKEN); applicationMode.start(); @@ -84,7 +83,7 @@ public class StorageHubManagementTest extends ContextTest { applicationMode.end(); } - @Test + //@Test public void getFileInfo() throws Exception { ApplicationMode applicationMode = new ApplicationMode(ContextTest.GCUBE_PRE_PROD_PREVRE_APP_TOKEN); applicationMode.start();