|
specs 1.2.3 API
|
|
trait
JMockerExampleLifeCycle
extends ExampleLifeCycle with JMockerContext| Values and Variables inherited from JMockerContext | |
| context, expectations |
| Values and Variables inherited from ExampleLifeCycle | |
| sequential, example |
| Method Summary | |
override def
|
afterTest
(ex : Example) : Unit
After a test the context is verified. If some more expectations are not met an ExpectationError is thrown
In that case, it is transformed to a failure exception
|
override def
|
beforeExample
(ex : Example) : Unit
before any example, a new context and new expetcations should be created
|
override def
|
executeTest
(ex : Example, t : => Any) : Any
An expectation error may be thrown during the execution of a test
In that case, it is transformed to a failure exception
|
| Methods inherited from JMockerContext | |
| restart, checkContext |
| Methods inherited from Imposterizer | |
| createMockery |
| Methods inherited from ExampleLifeCycle | |
| isSequential, setSequential, beforeTest, afterExample |
| Methods inherited from AnyRef | |
| getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
| Methods inherited from Any | |
| ==, !=, isInstanceOf, asInstanceOf |
| Method Details |
|
specs 1.2.3 API
|
|