Fixed test
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141351 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
130cbbbdd3
commit
152b844b0a
|
@ -93,29 +93,31 @@ public class SchemaManagementImplTest {
|
||||||
public void getList() throws Exception{
|
public void getList() throws Exception{
|
||||||
logger.debug("\n\n\n");
|
logger.debug("\n\n\n");
|
||||||
|
|
||||||
|
boolean includeSchema = true;
|
||||||
|
|
||||||
SchemaManagement schemaManagement = new SchemaManagementImpl();
|
SchemaManagement schemaManagement = new SchemaManagementImpl();
|
||||||
String list = schemaManagement.getEmbeddedTypes(Embedded.NAME, false);
|
String list = schemaManagement.getEmbeddedTypes(Embedded.NAME, includeSchema);
|
||||||
logger.debug("{} list : {}", Embedded.NAME, list);
|
logger.debug("{} list : {}", Embedded.NAME, list);
|
||||||
|
|
||||||
|
|
||||||
list = schemaManagement.getEntityTypes(Entity.NAME, false);
|
list = schemaManagement.getEntityTypes(Entity.NAME, includeSchema);
|
||||||
logger.debug("{} list : {}", Entity.NAME, list);
|
logger.debug("{} list : {}", Entity.NAME, list);
|
||||||
|
|
||||||
list = schemaManagement.getResourceTypes(Resource.NAME, false);
|
list = schemaManagement.getResourceTypes(Resource.NAME, includeSchema);
|
||||||
logger.debug("{} list : {}", Resource.NAME, list);
|
logger.debug("{} list : {}", Resource.NAME, list);
|
||||||
|
|
||||||
list = schemaManagement.getFacetTypes(Facet.NAME, false);
|
list = schemaManagement.getFacetTypes(Facet.NAME, includeSchema);
|
||||||
logger.debug("{} list : {}", Facet.NAME, list);
|
logger.debug("{} list : {}", Facet.NAME, list);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
list = schemaManagement.getRelationTypes(Relation.NAME, false);
|
list = schemaManagement.getRelationTypes(Relation.NAME, includeSchema);
|
||||||
logger.debug("{} list : {}", Relation.NAME, list);
|
logger.debug("{} list : {}", Relation.NAME, list);
|
||||||
|
|
||||||
list = schemaManagement.getConsistsOfTypes(ConsistsOf.NAME, false);
|
list = schemaManagement.getConsistsOfTypes(ConsistsOf.NAME, includeSchema);
|
||||||
logger.debug("{} list : {}", ConsistsOf.NAME, list);
|
logger.debug("{} list : {}", ConsistsOf.NAME, list);
|
||||||
|
|
||||||
list = schemaManagement.getIsRelatedToTypes(IsRelatedTo.NAME, false);
|
list = schemaManagement.getIsRelatedToTypes(IsRelatedTo.NAME, includeSchema);
|
||||||
logger.debug("{} list : {}", IsRelatedTo.NAME, list);
|
logger.debug("{} list : {}", IsRelatedTo.NAME, list);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue