org.specs.specification

trait ExampleLifeCycle

[source: org/specs/specification/ExampleLifeCycle.scala]

trait ExampleLifeCycle
extends AnyRef
This abstract trait is used to represent how examples should be executed:
Direct Known Subclasses:
Sut, JMockerExampleLifeCycle, Mocker, SpecificationStructure

Value Summary
protected[this] var example : scala.Option[Example]
protected var sequential : Boolean
Method Summary
def afterExample (ex : Example) : Unit
def afterTest (ex : Example) : Unit
def beforeExample (ex : Example) : Unit
def beforeTest (ex : Example) : Unit
def executeTest (ex : Example, t : => Any) : Any
def isSequential : Boolean
def setSequential : Unit
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Value Details
protected var sequential : Boolean

protected[this] var example : scala.Option[Example]

Method Details
def isSequential : Boolean

def setSequential : Unit

def beforeExample(ex : Example) : Unit

def beforeTest(ex : Example) : Unit

def afterTest(ex : Example) : Unit

def executeTest(ex : Example, t : => Any) : Any

def afterExample(ex : Example) : Unit


Copyright (c) 2007-2008. All Rights Reserved.