You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
916 B
Java

package org.gcube.portlets.admin.systemservicedefinition;
import static org.junit.Assert.assertTrue;
import java.util.List;
import org.gcube.common.resources.gcore.GenericResource;
import org.gcube.portlets.admin.systemservicedefinition.is.InformationSystemUtils;
import org.gcube.portlets.admin.systemservicedefinition.shared.Constants;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
*
* @author Giancarlo Panichi
*
*
*/
public class ISTest {
private static Logger logger = LoggerFactory.getLogger(ISTest.class);
@Test
public void findAlgoInVRE() {
try {
InformationSystemUtils.retrieveSSD(Constants.SYSTEM_SERVICE_CATEGORY,
Constants.DEFAULT_SCOPE, Constants.DEFAULT_TOKEN);
assertTrue(true);
} catch (Exception e) {
logger.error(e.getLocalizedMessage(), e);
assertTrue("Error searching the resource!",false);
}
}
}