| org.apache.commons.dbutils.BaseTestCase
All known Subclasses: org.apache.commons.dbutils.wrappers.StringTrimmedResultSetTest, org.apache.commons.dbutils.ResultSetIteratorTest, org.apache.commons.dbutils.handlers.ArrayListHandlerTest, org.apache.commons.dbutils.handlers.BeanHandlerTest, org.apache.commons.dbutils.handlers.BeanListHandlerTest, org.apache.commons.dbutils.handlers.ScalarHandlerTest, org.apache.commons.dbutils.BeanProcessorTest, org.apache.commons.dbutils.handlers.MapListHandlerTest, org.apache.commons.dbutils.handlers.KeyedHandlerTest, org.apache.commons.dbutils.handlers.ArrayHandlerTest, org.apache.commons.dbutils.ProxyFactoryTest, org.apache.commons.dbutils.QueryLoaderTest, org.apache.commons.dbutils.handlers.ColumnListHandlerTest, org.apache.commons.dbutils.handlers.MapHandlerTest, org.apache.commons.dbutils.wrappers.SqlNullCheckedResultSetTest, org.apache.commons.dbutils.BasicRowProcessorTest,
BaseTestCase | public class BaseTestCase extends TestCase (Code) | | BaseTestCase is the base class for all test cases as well as the "all tests"
runner.
|
Method Summary | |
protected ResultSet | createMockResultSet() Creates a freshly initialized ResultSet. | protected void | setUp() This is called before each test method so ResultSet will be fresh each
time. | public static Test | suite() Return a TestSuite containing all of our test cases. |
COLS | final protected static int COLS(Code) | | The number of columns in the MockResultSet.
|
ROWS | final protected static int ROWS(Code) | | The number of rows in the MockResultSet.
|
emptyResultSet | protected ResultSet emptyResultSet(Code) | | A ResultSet with 0 rows.
|
BaseTestCase | public BaseTestCase(String name)(Code) | | Constructor for BaseTestCase.
|
createMockResultSet | protected ResultSet createMockResultSet()(Code) | | Creates a freshly initialized ResultSet.
|
setUp | protected void setUp() throws Exception(Code) | | This is called before each test method so ResultSet will be fresh each
time.
See Also: junit.framework.TestCase.setUp |
suite | public static Test suite()(Code) | | Return a TestSuite containing all of our test cases.
|
|
|