use of org.pentaho.platform.plugin.action.chartbeans.ChartBeansSystemListener in project pentaho-platform by pentaho.
the class ChartBeansSystemListenerIT method testBadStartupFile.
/**
* Test method for startup from file with no chart engines defined.
*/
@Test
public void testBadStartupFile() {
ChartBeansSystemListener sl = new ChartBeansSystemListener();
sl.setConfigFile("chartbeans/chartbeans_config_no_engines.xml");
Assert.assertFalse(sl.startup(null));
}
use of org.pentaho.platform.plugin.action.chartbeans.ChartBeansSystemListener in project pentaho-platform by pentaho.
the class ChartBeansSystemListenerIT method testStartup.
/**
* Test method for
* {@link org.pentaho.platform.plugin.action.chartbeans.ChartBeansSystemListener#
* startup(org.pentaho.platform.api.engine.IPentahoSession)}
* .
*/
@Test
public void testStartup() {
IPentahoSystemListener sl = new ChartBeansSystemListener();
Assert.assertTrue(sl.startup(null));
}
Aggregations