| org.ddsteps.junit.behaviour.DdTestCaseHooks
All known Subclasses: org.ddsteps.spring.DDStepsSpringTestCase,
DdTestCaseHooks | public interface DdTestCaseHooks (Code) | | Interface containing the method and row setUp and tearDown callbacks which are specific to DDSteps.
author: adam version: $Id: DdTestCaseHooks.java,v 1.1 2006/01/29 21:25:39 adamskogman Exp $ |
Method Summary | |
void | setUpAfterData() Hook method, called on the iteration instance before running a test method. | void | setUpBeforeData() Hook method, called ONCE on the iteration instance before running a test method and its iterations. | void | setUpMethod() Hook method, called once on the method instance before running a test method. | void | tearDownAfterData() Hook method, called on the iteration instance after running a test method. | void | tearDownBeforeData() Hook method, called on the iteration instance after running a test method. | void | tearDownMethod() Hook method, called ONCE on the method instance after running a test method and all its iterations. |
setUpAfterData | void setUpAfterData() throws Exception(Code) | | Hook method, called on the iteration instance before running a test method. Not called if a method is not data
driven.
throws: Exception - |
setUpBeforeData | void setUpBeforeData() throws Exception(Code) | | Hook method, called ONCE on the iteration instance before running a test method and its iterations. Not called if
a method is not data driven.
throws: Exception - |
setUpMethod | void setUpMethod() throws Exception(Code) | | Hook method, called once on the method instance before running a test method.
throws: Exception - |
tearDownAfterData | void tearDownAfterData() throws Exception(Code) | | Hook method, called on the iteration instance after running a test method. Useful when you need some data to do
tearDown. Not called if a method is not data driven.
throws: Exception - |
tearDownBeforeData | void tearDownBeforeData() throws Exception(Code) | | Hook method, called on the iteration instance after running a test method. Useful when you need some data to do
tearDown. Not called if a method is not data driven.
throws: Exception - |
tearDownMethod | void tearDownMethod() throws Exception(Code) | | Hook method, called ONCE on the method instance after running a test method and all its iterations.
throws: Exception - |
|
|