added test
This commit is contained in:
parent
5b97c45a4c
commit
7bb49b1f4c
|
@ -28,6 +28,7 @@ import org.gcube.informationsystem.model.reference.properties.PropagationConstra
|
|||
import org.gcube.informationsystem.model.reference.relations.ConsistsOf;
|
||||
import org.gcube.informationsystem.model.reference.relations.IsRelatedTo;
|
||||
import org.gcube.informationsystem.resourceregistry.ContextTest;
|
||||
import org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException;
|
||||
import org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundException;
|
||||
import org.gcube.informationsystem.resourceregistry.api.utils.Utility;
|
||||
import org.gcube.informationsystem.resourceregistry.instances.base.ElementManagementUtility;
|
||||
|
@ -649,4 +650,12 @@ public class ERManagementTest extends ContextTest {
|
|||
//
|
||||
// }
|
||||
|
||||
@Test
|
||||
public void getAllHostingNode() throws ResourceRegistryException {
|
||||
ResourceManagement resourceManagement = new ResourceManagement();
|
||||
resourceManagement.setElementType(HostingNode.NAME);
|
||||
String ret = resourceManagement.all(true);
|
||||
logger.debug("{}", ret);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue