From e4bcd8f1b9f23fd7086c6c7aa858f26d1240afe3 Mon Sep 17 00:00:00 2001 From: "luca.frosini" Date: Mon, 13 Nov 2017 11:52:53 +0000 Subject: [PATCH] Fixing tests git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158408 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../schema/SchemaManagementImplTest.java | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/test/java/org/gcube/informationsystem/resourceregistry/schema/SchemaManagementImplTest.java b/src/test/java/org/gcube/informationsystem/resourceregistry/schema/SchemaManagementImplTest.java index abb9f9a..142b75f 100644 --- a/src/test/java/org/gcube/informationsystem/resourceregistry/schema/SchemaManagementImplTest.java +++ b/src/test/java/org/gcube/informationsystem/resourceregistry/schema/SchemaManagementImplTest.java @@ -5,6 +5,7 @@ package org.gcube.informationsystem.resourceregistry.schema; import java.util.List; +import org.gcube.informationsystem.model.ISManageable; import org.gcube.informationsystem.model.embedded.Embedded; import org.gcube.informationsystem.model.embedded.Header; import org.gcube.informationsystem.model.entity.Entity; @@ -35,7 +36,7 @@ public class SchemaManagementImplTest { @Test public void registerEmbeddedTypeSchema() throws Exception { - Class clz = Header.class; + Class clz = Header.class; String json = TypeBinder.serializeType(clz); logger.debug(json); //new SchemaManagementImpl().create(json, AccessType.EMBEDDED); @@ -49,7 +50,7 @@ public class SchemaManagementImplTest { @Test public void registerFacetSchema() throws Exception { - Class clz = ContactFacet.class; + Class clz = ContactFacet.class; String json = TypeBinder.serializeType(clz); TypeBinder.deserializeTypeDefinition(json); } @@ -65,7 +66,7 @@ public class SchemaManagementImplTest { @Test public void registerEntityTypeSchema() throws Exception { - Class clz = Entity.class; + Class clz = Entity.class; String json = TypeBinder.serializeType(clz); logger.trace(json); // new SchemaManagementImpl().registerEntitySchema(json); @@ -73,7 +74,7 @@ public class SchemaManagementImplTest { @Test public void registerResourceSchema() throws Exception { - Class clz = Resource.class; + Class clz = Resource.class; String json = TypeBinder.serializeType(clz); logger.info(json); // new SchemaManagementImpl().registerFacetSchema(json); @@ -87,7 +88,7 @@ public class SchemaManagementImplTest { @Test public void registerRelation() throws Exception { - Class clz = Hosts.class; + Class clz = Hosts.class; String json = TypeBinder.serializeType(clz); logger.trace(json); // new SchemaManagementImpl().registerFacetSchema(json);