27 lines
636 B
Java
27 lines
636 B
Java
/**
|
|
*
|
|
*/
|
|
package org.gcube.informationsystem.resourceregistry.resources.impl;
|
|
|
|
import org.gcube.informationsystem.resourceregistry.api.exceptions.InvalidQueryException;
|
|
import org.junit.Test;
|
|
import org.slf4j.Logger;
|
|
import org.slf4j.LoggerFactory;
|
|
|
|
/**
|
|
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
|
*
|
|
*/
|
|
public class QueryImplTest {
|
|
|
|
private static Logger logger = LoggerFactory.getLogger(QueryImplTest.class);
|
|
|
|
@Test
|
|
public void testQuery() throws InvalidQueryException{
|
|
QueryImpl queryImpl = new QueryImpl();
|
|
String ret = queryImpl.execute("select * from CPUFacet", null);
|
|
logger.debug(ret);
|
|
}
|
|
|
|
}
|