@Test public void testInit () { ScriptEngine.init(); IScriptEngine engine = ScriptEngine.getInstance(); assertNotNull(engine); IScriptEngine engine1 = ScriptEngine.getInstance(); assertEquals(engine, engine1); ScriptEngine.cleanUp(); assertNull(ScriptEngine.getInstance()); }
public static void init () { ScriptEngine.instance = new LuaScriptEngine(); }
ScriptEngine { public static void init () { ScriptEngine.instance = new LuaScriptEngine(); } }
ScriptEngine { public static void init () { ScriptEngine.instance = new LuaScriptEngine(); } protected  ScriptEngine(); }
ScriptEngine { public static void init () { ScriptEngine.instance = new LuaScriptEngine(); } protected  ScriptEngine(); static void init(); static IScriptEngine getInstance(); static void cleanUp(); }
ScriptEngine { public static void init () { ScriptEngine.instance = new LuaScriptEngine(); } protected  ScriptEngine(); static void init(); static IScriptEngine getInstance(); static void cleanUp();  }