private Properties getConfigurationAsProperties() { Properties result = new Properties(); result.setProperty(RuntimeConstants.RESOURCE_LOADER, "string"); result.setProperty(RuntimeConstants.VM_LIBRARY_AUTORELOAD, "false"); result.setProperty(RuntimeConstants.VM_LIBRARY, RuntimeConstants.VM_LIBRARY_DEFAULT); result.setProperty("string.resource.loader.class", StringResourceLoader.class.getName()); result.setProperty("string.resource.loader.modificationCheckInterval", "0"); result.setProperty(RuntimeConstants.RUNTIME_LOG_LOGSYSTEM_CLASS, SystemLogChute.class.getName()); return result; }
@Before public void setUp() { engine.setProperty(RuntimeConstants.RUNTIME_LOG_LOGSYSTEM, new SystemLogChute()); engine.init(); }