Package org.apache.ofbiz.testtools
Class GroovyScriptTestCase
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
groovy.util.GroovyTestCase
org.apache.ofbiz.testtools.GroovyScriptTestCase
- All Implemented Interfaces:
junit.framework.Test
This test case engine allow writing test in groovy script that do not need compilation.
-
Field Summary
Fields inherited from class groovy.util.GroovyTestCase
log, TEST_SCRIPT_NAME_PREFIX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal Delegator
final LocalDispatcher
final Security
final void
setDelegator
(Delegator delegator) final void
setDispatcher
(LocalDispatcher dispatcher) final void
setSecurity
(Security security) Methods inherited from class groovy.util.GroovyTestCase
assertArrayEquals, assertContains, assertContains, assertEquals, assertEquals, assertEquals, assertInspect, assertLength, assertLength, assertLength, assertScript, assertToString, fixEOLs, getMethodName, getName, getTestClassName, notYetImplemented, notYetImplemented, shouldFail, shouldFail, shouldFail, shouldFail, shouldFailWithCause
Methods inherited from class junit.framework.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, run, run, runBare, runTest, setName, setUp, tearDown, toString
-
Constructor Details
-
GroovyScriptTestCase
public GroovyScriptTestCase()
-
-
Method Details
-
setDelegator
-
getDelegator
-
getDispatcher
-
setDispatcher
-
setSecurity
-
getSecurity
-