From 124334609c197f9adc7328e4d04f29bd24df1372 Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Wed, 13 Feb 2019 11:24:38 +0000 Subject: [PATCH] Fixing test git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-schema-client@177101 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../schema/{ScopedTest.java => ContextTest.java} | 8 ++++---- .../schema/ResourceRegistrySchemaClientTest.java | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) rename src/test/java/org/gcube/informationsystem/resourceregistry/schema/{ScopedTest.java => ContextTest.java} (91%) diff --git a/src/test/java/org/gcube/informationsystem/resourceregistry/schema/ScopedTest.java b/src/test/java/org/gcube/informationsystem/resourceregistry/schema/ContextTest.java similarity index 91% rename from src/test/java/org/gcube/informationsystem/resourceregistry/schema/ScopedTest.java rename to src/test/java/org/gcube/informationsystem/resourceregistry/schema/ContextTest.java index 2115dd9..df8de47 100644 --- a/src/test/java/org/gcube/informationsystem/resourceregistry/schema/ScopedTest.java +++ b/src/test/java/org/gcube/informationsystem/resourceregistry/schema/ContextTest.java @@ -21,9 +21,9 @@ import org.slf4j.LoggerFactory; * @author Luca Frosini (ISTI - CNR) * */ -public class ScopedTest { +public class ContextTest { - private static final Logger logger = LoggerFactory.getLogger(ScopedTest.class); + private static final Logger logger = LoggerFactory.getLogger(ContextTest.class); protected static final String PROPERTIES_FILENAME = "token.properties"; @@ -53,7 +53,7 @@ public class ScopedTest { static { Properties properties = new Properties(); - InputStream input = ScopedTest.class.getClassLoader().getResourceAsStream(PROPERTIES_FILENAME); + InputStream input = ContextTest.class.getClassLoader().getResourceAsStream(PROPERTIES_FILENAME); try { // load the properties file @@ -75,7 +75,7 @@ public class ScopedTest { properties = new Properties(); - input = ScopedTest.class.getClassLoader().getResourceAsStream(REGISTRY_PROPERTIES_FILENAME); + input = ContextTest.class.getClassLoader().getResourceAsStream(REGISTRY_PROPERTIES_FILENAME); try { // load the properties file properties.load(input); diff --git a/src/test/java/org/gcube/informationsystem/resourceregistry/schema/ResourceRegistrySchemaClientTest.java b/src/test/java/org/gcube/informationsystem/resourceregistry/schema/ResourceRegistrySchemaClientTest.java index 572b7b5..52ec9dd 100644 --- a/src/test/java/org/gcube/informationsystem/resourceregistry/schema/ResourceRegistrySchemaClientTest.java +++ b/src/test/java/org/gcube/informationsystem/resourceregistry/schema/ResourceRegistrySchemaClientTest.java @@ -11,7 +11,7 @@ import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class ResourceRegistrySchemaClientTest extends ScopedTest { +public class ResourceRegistrySchemaClientTest extends ContextTest { private static Logger logger = LoggerFactory.getLogger(ResourceRegistrySchemaClientTest.class);