Liferay 7.0-ce-b4

com.liferay.portal.scripting
Class ScriptingExecutorTestCase

java.lang.Object
  extended by com.liferay.portal.scripting.ScriptingExecutorTestCase

public abstract class ScriptingExecutorTestCase
extends Object


Constructor Summary
ScriptingExecutorTestCase()
           
 
Method Summary
protected  Map<String,Object> execute(Map<String,Object> inputObjects, Set<String> outputNames, String fileName)
           
protected  String getScript(String name)
           
abstract  String getScriptExtension()
           
abstract  ScriptingExecutor getScriptingExecutor()
           
 void setUp()
           
static void setUpClass()
           
 void testBindingInputVariables()
           
 void testSimpleScript()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptingExecutorTestCase

public ScriptingExecutorTestCase()
Method Detail

setUpClass

public static void setUpClass()
                       throws Exception
Throws:
Exception

getScriptExtension

public abstract String getScriptExtension()

getScriptingExecutor

public abstract ScriptingExecutor getScriptingExecutor()

setUp

public void setUp()

testBindingInputVariables

public void testBindingInputVariables()
                               throws Exception
Throws:
Exception

testSimpleScript

public void testSimpleScript()
                      throws Exception
Throws:
Exception

execute

protected Map<String,Object> execute(Map<String,Object> inputObjects,
                                     Set<String> outputNames,
                                     String fileName)
                              throws Exception
Throws:
Exception

getScript

protected String getScript(String name)
                    throws IOException
Throws:
IOException

Liferay 7.0-ce-b4