|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectlsst.gruth.grutils.RawTestSpec
class RawTestSpec
this data is created by _test method and modified by its own methods. It does not represent a test because the rawArgs field may represent combinations of parameters for a constructor, factory, or method call.
Property Summary | |
---|---|
groovy.lang.Closure |
expectations
code to be run after executing this specific test and before tearDown. |
java.util.Map |
rawArgs
|
groovy.lang.Closure |
setUp
code to be run before executing this specific test. |
groovy.lang.Closure |
tearDown
code to be run after executing this specific test. |
Constructor Summary | |
RawTestSpec()
|
Method Summary | |
---|---|
RawTestSpec
|
_post(groovy.lang.Closure clos)
Code to be executed after each test run in this combination of test described by _test method. |
RawTestSpec
|
_pre(groovy.lang.Closure clos)
Code to be executed before each test run in this combination of test described by _test method. |
RawTestSpec
|
_xpect(groovy.lang.Closure clos)
code that analyses the properties of the calls described by the _test method. |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Property Detail |
---|
groovy.lang.Closure expectations
java.util.Map rawArgs
groovy.lang.Closure setUp
groovy.lang.Closure tearDown
Constructor Detail |
---|
RawTestSpec()
Method Detail |
---|
RawTestSpec _post(groovy.lang.Closure clos)
RawTestSpec _pre(groovy.lang.Closure clos)
RawTestSpec _xpect(groovy.lang.Closure clos)
Groovy Documentation