Groovy Documentation

lsst.gruth.grutils
[Groovy] Class InvokeGroupSpec

java.lang.Object
  lsst.gruth.grutils.GroupSpec
      lsst.gruth.grutils.InvokeGroupSpec

class InvokeGroupSpec
extends GroupSpec

A GroupSpec for testing instance methods.

Authors:
bamade


Property Summary
boolean methodSpecified

TaggedsMap tmap

 
Constructor Summary
InvokeGroupSpec(groovy.lang.Binding bind, java.lang.Object... objs)

@param bind

 
Method Summary
GroupRun _group(groovy.lang.Closure clos)

calls the other _group method by generating a name for the group

GroupRun _group(java.lang.String name, groovy.lang.Closure clos)

prepares a set of test (GroupRun) (for instances method only for the moment -no instance factories-)

InvokeGroupSpec _method(java.lang.String methodName)

GRU DSL method to specify the method to test on the objects.

GroupRun _method(java.lang.String methodName, groovy.lang.Closure clos)

Enables a simplified syntax: so instead of having _method 'methodName' _group { /test group /} one can specify _method 'methodName' { /test group /}

 
Methods inherited from class GroupSpec
_group, _post, _prepare, _test, _test, fromRawArgsToRawRuns
 

Property Detail

methodSpecified

boolean methodSpecified


tmap

TaggedsMap tmap


 
Constructor Detail

InvokeGroupSpec

InvokeGroupSpec(groovy.lang.Binding bind, java.lang.Object... objs)
Parameters:
bind
objs - a list of tagged objects on which tests will be performed


 
Method Detail

_group

GroupRun _group(groovy.lang.Closure clos)
calls the other _group method by generating a name for the group
Parameters:
clos
Returns:


_group

GroupRun _group(java.lang.String name, groovy.lang.Closure clos)
prepares a set of test (GroupRun) (for instances method only for the moment -no instance factories-)
Parameters:
name
clos
Returns:


_method

InvokeGroupSpec _method(java.lang.String methodName)
GRU DSL method to specify the method to test on the objects.
Parameters:
methodName
Returns:


_method

GroupRun _method(java.lang.String methodName, groovy.lang.Closure clos)
Enables a simplified syntax: so instead of having _method 'methodName' _group { /test group /} one can specify _method 'methodName' { /test group /}
Parameters:
methodName
clos
Returns:


 

Groovy Documentation