Class ScriptRunnerTest
java.lang.Object
org.apache.maven.shared.scriptinterpreter.ScriptRunnerTest
public class ScriptRunnerTest
extends java.lang.Object
- Author:
- Olivier Lamy
-
Constructor Summary
Constructors Constructor Description ScriptRunnerTest()
-
Method Summary
Modifier and Type Method Description void
beanshellReturnedNotTrueShouldThrowException()
void
beanshellReturnedNullShouldBeOk()
void
failedBeanshellShouldCreateProperLogsMessage()
void
failedGroovyShouldCreateProperLogsMessage()
void
groovyReturnedFalseShouldThrowException()
void
groovyReturnedNullShouldBeOk()
void
testBeanshell()
void
testBeanshellWithFile()
void
testGroovy()
void
testGroovyWithFile()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ScriptRunnerTest
public ScriptRunnerTest()
-
-
Method Details
-
testBeanshell
public void testBeanshell() throws java.lang.Exception- Throws:
java.lang.Exception
-
beanshellReturnedNullShouldBeOk
public void beanshellReturnedNullShouldBeOk() throws java.lang.Exception- Throws:
java.lang.Exception
-
failedBeanshellShouldCreateProperLogsMessage
public void failedBeanshellShouldCreateProperLogsMessage() throws java.lang.Exception- Throws:
java.lang.Exception
-
beanshellReturnedNotTrueShouldThrowException
public void beanshellReturnedNotTrueShouldThrowException() throws java.lang.Exception- Throws:
java.lang.Exception
-
testBeanshellWithFile
public void testBeanshellWithFile() throws java.lang.Exception- Throws:
java.lang.Exception
-
testGroovy
public void testGroovy() throws java.lang.Exception- Throws:
java.lang.Exception
-
groovyReturnedNullShouldBeOk
public void groovyReturnedNullShouldBeOk() throws java.lang.Exception- Throws:
java.lang.Exception
-
failedGroovyShouldCreateProperLogsMessage
public void failedGroovyShouldCreateProperLogsMessage() throws java.lang.Exception- Throws:
java.lang.Exception
-
groovyReturnedFalseShouldThrowException
public void groovyReturnedFalseShouldThrowException() throws java.lang.Exception- Throws:
java.lang.Exception
-
testGroovyWithFile
public void testGroovyWithFile() throws java.lang.Exception- Throws:
java.lang.Exception
-