From 0376c8ec97f766b7f0ecec968b40db938cc6c510 Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Fri, 28 Oct 2016 09:06:33 +0000 Subject: [PATCH] Fixed tests log git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@133698 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../proxy/ResourceRegistryClientTest.java | 6 +++--- src/test/resources/logback-test.xml | 17 +++++++++++++++++ 2 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 src/test/resources/logback-test.xml diff --git a/src/test/java/org/gcube/informationsystem/resourceregistry/client/proxy/ResourceRegistryClientTest.java b/src/test/java/org/gcube/informationsystem/resourceregistry/client/proxy/ResourceRegistryClientTest.java index c45e3ea..9518a23 100644 --- a/src/test/java/org/gcube/informationsystem/resourceregistry/client/proxy/ResourceRegistryClientTest.java +++ b/src/test/java/org/gcube/informationsystem/resourceregistry/client/proxy/ResourceRegistryClientTest.java @@ -31,20 +31,20 @@ public class ResourceRegistryClientTest { @Test public void testQuery() throws InvalidQueryException{ String res = resourceRegistryClient.query("SELECT FROM V", 0, null); - logger.debug(res); + logger.info(res); } @Test public void testgetFacetSchema() throws SchemaNotFoundException { String res = resourceRegistryClient.getFacetSchema("ContactFacet"); - logger.debug(res); + logger.info(res); } @Test public void testgetResourceSchema() throws SchemaNotFoundException { String res = resourceRegistryClient.getResourceSchema("HostingNode"); - logger.debug(res); + logger.info(res); } diff --git a/src/test/resources/logback-test.xml b/src/test/resources/logback-test.xml new file mode 100644 index 0000000..6dd5446 --- /dev/null +++ b/src/test/resources/logback-test.xml @@ -0,0 +1,17 @@ + + + + + %d{HH:mm:ss.SSS} [%thread] %-5level %logger{0}: %msg%n + + + + + + + + + + + + \ No newline at end of file