|
Groovy 1.8.4 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
groovy.util.GroovyTestCase
groovy.util.GroovyShellTestCase
class GroovyShellTestCase extends GroovyTestCase
Groovy test case, which recreates internal GroovyShell in each setUp ()
Field Summary | |
---|---|
protected GroovyShell |
shell
|
Fields inherited from class GroovyTestCase | |
---|---|
TEST_SCRIPT_NAME_PREFIX, log |
Method Summary | |
---|---|
protected GroovyShell
|
createNewShell()
Create new shell instance. |
protected void
|
setUp()
|
protected void
|
tearDown()
|
protected def
|
withBinding(Map map, Closure closure)
Executes closure with given binding |
protected def
|
withBinding(Map map, String script)
Evaluates script with given binding |
Methods inherited from class TestCase | |
---|---|
run, run, toString, getName, setName, countTestCases, runBare, format, fail, fail, assertTrue, assertTrue, assertFalse, assertFalse, assertNotNull, assertNotNull, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNull, assertNull, assertSame, assertSame, assertNotSame, assertNotSame, failSame, failNotSame, failNotEquals, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
@Delegate protected GroovyShell shell
Method Detail |
---|
protected GroovyShell createNewShell()
protected void setUp()
protected void tearDown()
protected def withBinding(Map map, Closure closure)
protected def withBinding(Map map, String script)
Copyright © 2003-2011 The Codehaus. All rights reserved.