updated junit tests
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@176264 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
0915833a4d
commit
9869badd04
|
@ -20,7 +20,6 @@ import org.apache.commons.io.IOUtils;
|
||||||
import org.apache.http.HttpStatus;
|
import org.apache.http.HttpStatus;
|
||||||
import org.gcube.datatransfer.resolver.applicationprofile.ApplicationProfileReader;
|
import org.gcube.datatransfer.resolver.applicationprofile.ApplicationProfileReader;
|
||||||
import org.gcube.datatransfer.resolver.util.HTTPCallsUtils;
|
import org.gcube.datatransfer.resolver.util.HTTPCallsUtils;
|
||||||
import org.junit.Test;
|
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
|
@ -171,7 +170,7 @@ public class TestResolvers {
|
||||||
*
|
*
|
||||||
* @throws Exception the exception
|
* @throws Exception the exception
|
||||||
*/
|
*/
|
||||||
@Test
|
//@Test
|
||||||
public void testCatalogueResolver() throws Exception{
|
public void testCatalogueResolver() throws Exception{
|
||||||
|
|
||||||
String entityName = "sarda-sarda";
|
String entityName = "sarda-sarda";
|
||||||
|
@ -251,13 +250,14 @@ public class TestResolvers {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Storage hub test.
|
* Test catalogue resolver create private item url.
|
||||||
*
|
*
|
||||||
* @throws Exception the exception
|
* @throws Exception the exception
|
||||||
*/
|
*/
|
||||||
//Test
|
//@Test
|
||||||
public void testCatalogueResolverCreatePubrivatItemURL() throws Exception{
|
public void testCatalogueResolverCreatePrivateItemURL() throws Exception{
|
||||||
|
|
||||||
String entityName = "dynamic_reporting";
|
String entityName = "dynamic_reporting";
|
||||||
//String entityContext = "product";
|
//String entityContext = "product";
|
||||||
|
@ -422,9 +422,11 @@ public class TestResolvers {
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static final String APPLICATION_PROFILE = "ApplicationProfile";
|
private static final String APPLICATION_PROFILE = "ApplicationProfile";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* The main method.
|
||||||
*
|
*
|
||||||
* @param args
|
* @param args the arguments
|
||||||
*/
|
*/
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue