Properties config = new Properties();
Ripple.initialize(config);
}
public void testInfo() throws Exception {
ScriptEngineFactory f = new RippleScriptEngineFactory();
assertEquals("Ripple Script Engine", f.getEngineName());
List<String> names = f.getNames();
assertEquals(1, names.size());
assertEquals("ripple", names.get(0));
List<String> extensions = f.getExtensions();
assertEquals(1, extensions.size());
assertEquals("rpl", extensions.get(0));
assertEquals(Ripple.getVersion(), f.getEngineVersion());
assertEquals("Ripple", f.getLanguageName());
assertEquals(Ripple.getVersion(), f.getLanguageVersion());
List<String> mimeTypes = f.getMimeTypes();
assertEquals(0, mimeTypes.size());
}