| java.lang.Object org.ddsteps.junit.behaviour.DdBehaviourBase org.ddsteps.junit.behaviour.DdRowBehaviour
DdRowBehaviour | public class DdRowBehaviour extends DdBehaviourBase implements DdBehaviour(Code) | | Encapsulates the behaviour of the so called "row test case instance", which
is the one that represents a row in the test data.
author: adam version: $Id: DdRowBehaviour.java,v 1.3 2006/04/10 11:52:38 rickardnilsson Exp $ |
LOG | final protected static Log LOG(Code) | | Logger.
|
DdRowBehaviour | public DdRowBehaviour(TestCase testCase, String methodName, String rowId, DataLoader dataLoader)(Code) | | Dependency Injection constructor.
Parameters: testCase - The testcase itself. Parameters: methodName - The method name Parameters: rowId - The row id Parameters: dataLoader - The DataLoader |
setProperties | public void setProperties(Properties properties)(Code) | | Parameters: properties - the properties to set |
setUpData | protected void setUpData(DataRow row, BeanWrapper beanWrapper) throws Exception(Code) | | Populates the testcase with data.
Uses the testcase taken as an arg to the constructor, and not the
callback handler passed to setUp(), as the callback handler may not be
the same object (typically, it may be an inner class).
Parameters: row - The input row, not null. Parameters: beanWrapper - throws: Exception - If population fails |
setUpProperties | protected void setUpProperties(Properties properties, BeanWrapper beanWrapper) throws Exception(Code) | | Populates this object with the data from the properties.
Parameters: properties - The properties, null is ok. Parameters: beanWrapper - throws: Exception - If population fails |
wrapBean | protected BeanWrapper wrapBean(TestCase testCase)(Code) | | Wrap the testcase in some Spring goodness. Adds some new property editors
which handle Number to Number conversions better.
Parameters: testCase - The testcase to wrap A wrapper. |
|
|