Added tests
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@133661 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
dedec490d7
commit
ea7b88d120
|
@ -5,6 +5,7 @@ package org.gcube.informationsystem.resourceregistry.client.proxy;
|
||||||
|
|
||||||
import org.gcube.common.scope.api.ScopeProvider;
|
import org.gcube.common.scope.api.ScopeProvider;
|
||||||
import org.gcube.informationsystem.resourceregistry.api.exceptions.InvalidQueryException;
|
import org.gcube.informationsystem.resourceregistry.api.exceptions.InvalidQueryException;
|
||||||
|
import org.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaNotFoundException;
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
|
@ -33,4 +34,20 @@ public class ResourceRegistryClientTest {
|
||||||
logger.debug(res);
|
logger.debug(res);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void testgetFacetSchema() throws SchemaNotFoundException {
|
||||||
|
String res = resourceRegistryClient.getFacetSchema("ContactFacet");
|
||||||
|
logger.debug(res);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void testgetResourceSchema() throws SchemaNotFoundException {
|
||||||
|
String res = resourceRegistryClient.getResourceSchema("HostingNode");
|
||||||
|
logger.debug(res);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue