Search in sources :

Example 1 with XmlSimpleSystemSettings

use of org.pentaho.test.platform.engine.core.XmlSimpleSystemSettings in project pentaho-platform by pentaho.

the class ChartBeansSystemListenerIT method setUp.

/**
 * @throws java.lang.Exception
 */
@SuppressWarnings("deprecation")
@Before
public void setUp() throws Exception {
    String solutionsRelativePath = TestResourceLocation.TEST_RESOURCES + "/org/pentaho/test/platform/plugin/chartbeans/solutions";
    MicroPlatform mp = new MicroPlatform(solutionsRelativePath);
    mp.define(ISolutionEngine.class, Object.class);
    ISystemSettings settings = new XmlSimpleSystemSettings();
    mp.setSettingsProvider(settings);
    mp.init();
}
Also used : MicroPlatform(org.pentaho.test.platform.engine.core.MicroPlatform) ISystemSettings(org.pentaho.platform.api.engine.ISystemSettings) XmlSimpleSystemSettings(org.pentaho.test.platform.engine.core.XmlSimpleSystemSettings) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)1 ISystemSettings (org.pentaho.platform.api.engine.ISystemSettings)1 MicroPlatform (org.pentaho.test.platform.engine.core.MicroPlatform)1 XmlSimpleSystemSettings (org.pentaho.test.platform.engine.core.XmlSimpleSystemSettings)1