Class FixtureMethod

java.lang.Object
org.spockframework.compiler.model.Node<Spec,org.codehaus.groovy.ast.MethodNode>
org.spockframework.compiler.model.Method
org.spockframework.compiler.model.FixtureMethod

public class FixtureMethod extends Method
AST node representing a fixture method. In source code, a fixture method corresponds to an instance method named one of "setup", "cleanup", "setupSpec", "cleanupSpec".
Author:
Peter Niederwieser
  • Constructor Details

    • FixtureMethod

      public FixtureMethod(Spec parent, org.codehaus.groovy.ast.MethodNode code)