Package net.sourceforge.marathon.api

Examples of net.sourceforge.marathon.api.IScript


     */
    @Test public void testUncaughtThrowableInsideJava() throws Exception {
    }

    private synchronized void createScriptAndExecute(String content) throws Exception {
        IScript script = createScript(content, DEFAULT_SCRIPT_NAME);
        result = new PlaybackResult();
        player = script.getPlayer(this, result);
        player.play(true);
        wait();
    }
View Full Code Here


        assertEquals("traceback element " + elementNumber + " function name", methodName, line.functionName);
    }

    private IScript createScript(String content, String fileName) throws ClassNotFoundException, InstantiationException,
            IllegalAccessException {
        IScript script = new PythonScript(interpreterOutput, interpreterError, content, fileName, new ComponentFinder(
                Boolean.FALSE, WindowMonitor.getInstance().getNamingStrategy(), new ResolversProvider(),
                ScriptModelServerPart.getModelServerPart(), WindowMonitor.getInstance()), WindowMonitor.getInstance(),
                MarathonAppType.JAVA);
        return script;
    }
View Full Code Here

TOP

Related Classes of net.sourceforge.marathon.api.IScript

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.