From 35bc8a6c8302e0c769391805b1bd2021ffe61d3a Mon Sep 17 00:00:00 2001 From: "luca.frosini" Date: Wed, 11 Jan 2017 16:12:00 +0000 Subject: [PATCH] Fixed test log git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141512 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../resourceregistry/er/ERManagementTest.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/test/java/org/gcube/informationsystem/resourceregistry/er/ERManagementTest.java b/src/test/java/org/gcube/informationsystem/resourceregistry/er/ERManagementTest.java index ba93071..fa99ee2 100644 --- a/src/test/java/org/gcube/informationsystem/resourceregistry/er/ERManagementTest.java +++ b/src/test/java/org/gcube/informationsystem/resourceregistry/er/ERManagementTest.java @@ -439,7 +439,7 @@ public class ERManagementTest extends ScopedTest { String json = resourceManagement.all(false); List list = Entities.unmarshalList(Resource.class, json); - logger.debug("{}s are {} : {} ", key, list.size(), list); + logger.debug("{} are {} : {} ", key, list.size(), list); Assert.assertTrue(list.size()==MAX); } @@ -450,7 +450,7 @@ public class ERManagementTest extends ScopedTest { String json = resourceManagement.all(true); List list = Entities.unmarshalList(Resource.class, json); - logger.debug("{}s are {} : {} ", Resource.NAME, list.size(), list); + logger.debug("{} are {} : {} ", Resource.NAME, list.size(), list); Assert.assertTrue(list.size()==(MAX*typeNumber)); @@ -466,7 +466,7 @@ public class ERManagementTest extends ScopedTest { json = isRelatedToManagement.all(true); List isRelatedToList = Entities.unmarshalList(IsRelatedTo.class, json); - logger.debug("{}s are {} : {} ", IsRelatedTo.NAME, isRelatedToList.size(), isRelatedToList); + logger.debug("{} are {} : {} ", IsRelatedTo.NAME, isRelatedToList.size(), isRelatedToList); Assert.assertTrue(isRelatedToList.size()==MAX); @@ -483,12 +483,12 @@ public class ERManagementTest extends ScopedTest { json = consistsOfManagement.all(true); List consistsOfPolimorphicList = Entities.unmarshalList(ConsistsOf.class, json); - logger.debug("{}s are {} : {} ", IsRelatedTo.NAME, consistsOfPolimorphicList.size(), consistsOfPolimorphicList); + logger.debug("{} are {} : {} ", IsRelatedTo.NAME, consistsOfPolimorphicList.size(), consistsOfPolimorphicList); json = consistsOfManagement.all(false); List consistsOfNonPolimorphicList = Entities.unmarshalList(ConsistsOf.class, json); - logger.debug("{}s are {} : {} ", IsRelatedTo.NAME, consistsOfNonPolimorphicList.size(), consistsOfNonPolimorphicList); + logger.debug("{} are {} : {} ", IsRelatedTo.NAME, consistsOfNonPolimorphicList.size(), consistsOfNonPolimorphicList); Assert.assertTrue(consistsOfPolimorphicList.size()>=consistsOfNonPolimorphicList.size());