47 lines
791 B
Java
47 lines
791 B
Java
package org.gcube.portlets.widgets.openlayerbasicwidgets;
|
|
|
|
import junit.framework.TestCase;
|
|
|
|
import org.gcube.portlets.widgets.openlayerbasicwidgets.shared.Constants;
|
|
import org.slf4j.Logger;
|
|
import org.slf4j.LoggerFactory;
|
|
|
|
/**
|
|
*
|
|
* @author Giancarlo Panichi
|
|
*
|
|
*
|
|
*/
|
|
public class GitHubConnectorTest extends TestCase {
|
|
|
|
private static Logger logger = LoggerFactory
|
|
.getLogger(GitHubConnectorTest.class);
|
|
|
|
public void testOLBasicWidgets() {
|
|
if (Constants.TEST_ENABLE) {
|
|
executeTestOnWidgets();
|
|
} else {
|
|
assertTrue(true);
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
private void executeTestOnWidgets() {
|
|
|
|
try {
|
|
logger.debug("Test OpenLayer Basic Widgets");
|
|
|
|
|
|
} catch (Exception e) {
|
|
logger.debug(e.getLocalizedMessage());
|
|
e.printStackTrace();
|
|
fail(e.getLocalizedMessage());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|