@Deprecated class GroovyShellTestCase extends GroovyTestCase
Groovy test case, which recreates internal GroovyShell in each setUp()
| Modifiers | Name | Description |
|---|---|---|
protected GroovyShell | shell |
| Constructor and description |
|---|
GroovyShellTestCase
() |
| Type Params | Return Type | Name and description |
|---|---|---|
protected GroovyShell |
createNewShell()Create new shell instance. | |
protected void |
setUp() | |
protected void |
tearDown() | |
protected Object |
withBinding(Map map, Closure closure)Executes closure with given binding | |
protected Object |
withBinding(Map map, String script)Evaluates script with given binding |
Create new shell instance. Overwrite it to customize
Executes closure with given binding
Evaluates script with given binding
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/groovy/util/GroovyShellTestCase.html