Liferay 7.0-ce-m6

com.liferay.portal.scripting
Class ScriptingExecutorTestCase

java.lang.Object
  extended by org.powermock.api.support.membermodification.MemberMatcher
      extended by org.powermock.api.support.membermodification.MemberModifier
          extended by org.powermock.api.mockito.PowerMockito
              extended by com.liferay.portal.scripting.ScriptingExecutorTestCase

@PrepareForTest(value=SingleVMPoolUtil.class)
public abstract class ScriptingExecutorTestCase
extends org.powermock.api.mockito.PowerMockito


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()
           
 void tearDown()
           
 void testBindingInputVariables()
           
 void testSimpleScript()
           
 
Methods inherited from class org.powermock.api.mockito.PowerMockito
doAnswer, doCallRealMethod, doNothing, doReturn, doThrow, mock, mock, mock, mockStatic, mockStatic, mockStatic, spy, spy, verifyNew, verifyNew, verifyNoMoreInteractions, verifyPrivate, verifyPrivate, verifyPrivate, verifyPrivate, verifyStatic, verifyStatic, verifyZeroInteractions, when, when, when, when, when, when, when, whenNew, whenNew, whenNew
 
Methods inherited from class org.powermock.api.support.membermodification.MemberModifier
replace, stub, suppress, suppress, suppress, suppress, suppress, suppress, suppress
 
Methods inherited from class org.powermock.api.support.membermodification.MemberMatcher
constructor, constructor, constructors, constructorsDeclaredIn, defaultConstructorIn, everythingDeclaredIn, field, fields, fields, fields, fields, method, method, methods, methods, methods, methodsDeclaredIn
 
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

getScriptExtension

public abstract String getScriptExtension()

getScriptingExecutor

public abstract ScriptingExecutor getScriptingExecutor()

setUp

public void setUp()

tearDown

public void tearDown()

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-m6