package org.gcube.accounting.couchdb.query; import java.util.HashMap; import java.util.Map; import org.gcube.utils.ScopedTest; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/ */ public class CouchDBQueryPluginTest extends ScopedTest { /** * Logger */ private static Logger logger = LoggerFactory.getLogger(CouchDBQueryPluginTest.class); @Test public void testLaunch() throws Exception { logger.debug("Starting to test launch"); Map inputs = new HashMap(); inputs.put(CouchDBQueryPlugin.DELAY_MILLIS, 1000*10); // Delay 10 sec CouchDBQueryPlugin couchDBQueryPlugin = new CouchDBQueryPlugin(null); couchDBQueryPlugin.launch(inputs); logger.debug("-------------- launch test finished"); } }