Uncommented tests
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@176630 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
dd2300d1a9
commit
e473abf024
|
@ -100,19 +100,19 @@ public class ResourceRegistryClientTest extends ScopedTest {
|
||||||
logger.trace("{}", eService);
|
logger.trace("{}", eService);
|
||||||
}
|
}
|
||||||
|
|
||||||
// @Test
|
@Test
|
||||||
public void testGetInstances() throws ResourceRegistryException {
|
public void testGetInstances() throws ResourceRegistryException {
|
||||||
String eServices = resourceRegistryClient.getInstances(EService.NAME, true);
|
String eServices = resourceRegistryClient.getInstances(EService.NAME, true);
|
||||||
logger.trace("{}", eServices);
|
logger.trace("{}", eServices);
|
||||||
}
|
}
|
||||||
|
|
||||||
// @Test
|
@Test
|
||||||
public void testGetInstancesByClass() throws ResourceRegistryException {
|
public void testGetInstancesByClass() throws ResourceRegistryException {
|
||||||
List<EService> eServices = resourceRegistryClient.getInstances(EService.class, true);
|
List<EService> eServices = resourceRegistryClient.getInstances(EService.class, true);
|
||||||
logger.trace("{}", eServices);
|
logger.trace("{}", eServices);
|
||||||
}
|
}
|
||||||
|
|
||||||
// @Test
|
@Test
|
||||||
public void testGetRelatedResourcesByClasses() throws ResourceRegistryException {
|
public void testGetRelatedResourcesByClasses() throws ResourceRegistryException {
|
||||||
List<EService> eServices = resourceRegistryClient.getRelatedResources(EService.class, IsRelatedTo.class,
|
List<EService> eServices = resourceRegistryClient.getRelatedResources(EService.class, IsRelatedTo.class,
|
||||||
Resource.class, Direction.out, true);
|
Resource.class, Direction.out, true);
|
||||||
|
@ -130,7 +130,7 @@ public class ResourceRegistryClientTest extends ScopedTest {
|
||||||
logger.trace("{}", eServices);
|
logger.trace("{}", eServices);
|
||||||
}
|
}
|
||||||
|
|
||||||
// @Test
|
@Test
|
||||||
public void testGetFilteredResourcesByClasses() throws ResourceRegistryException, JsonProcessingException {
|
public void testGetFilteredResourcesByClasses() throws ResourceRegistryException, JsonProcessingException {
|
||||||
Map<String,String> map = new HashMap<>();
|
Map<String,String> map = new HashMap<>();
|
||||||
map.put("group", "VREManagement");
|
map.put("group", "VREManagement");
|
||||||
|
|
Loading…
Reference in New Issue