org.spockframework.compiler.model
Class FixtureMethod

java.lang.Object
  extended by org.spockframework.compiler.model.Node<Spec,org.codehaus.groovy.ast.MethodNode>
      extended by org.spockframework.compiler.model.Method
          extended by 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 Summary
FixtureMethod(Spec parent, org.codehaus.groovy.ast.MethodNode code)
           
 
Method Summary
 
Methods inherited from class org.spockframework.compiler.model.Method
accept, addBlock, getBlocks, getFirstBlock, getLastBlock, getStatements
 
Methods inherited from class org.spockframework.compiler.model.Node
getAst, getName, getParent, setAst, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FixtureMethod

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


Copyright © 2013. All rights reserved