org.sourceforge.jxutil.dbtest.universal
Class SimpleFunctionTest
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--org.sourceforge.jxutil.dbtest.DatabaseTest
|
+--org.sourceforge.jxutil.dbtest.universal.SimpleFunctionTest
- All Implemented Interfaces:
- Test
- public class SimpleFunctionTest
- extends DatabaseTest
Fields inherited from class junit.framework.TestCase |
|
Methods inherited from class org.sourceforge.jxutil.dbtest.DatabaseTest |
checkDataCols, checkDataRows, createTable, dropTable, dropTable, getColumnString, getType, isDBMS, isDriver, loadData, setConnection, setUp, tearDown |
Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
cat
private static Category cat
FUNCTION_TO_TEST
private static final String FUNCTION_TO_TEST
- See Also:
- Constant Field Values
TABLE_NAME
private static final String TABLE_NAME
- See Also:
- Constant Field Values
TABLE1
private static final DatabaseTest.TableDef TABLE1
SimpleFunctionTest
public SimpleFunctionTest(String name)
checkResults
private void checkResults(BigDecimal expected)
throws SQLException
SQLException
setUpDB
public void setUpDB()
throws SQLException
- Overrides:
setUpDB
in class DatabaseTest
SQLException
tearDownDB
public void tearDownDB()
throws SQLException
- Overrides:
tearDownDB
in class DatabaseTest
SQLException
testFunctionWithInsert
public void testFunctionWithInsert()
throws SQLException
SQLException
testFunctionWithPreparedInsert
public void testFunctionWithPreparedInsert()
throws SQLException
SQLException
testFunctionWithSelect
public void testFunctionWithSelect()
throws SQLException
SQLException
Copyright © 2001,2002 Keve Müller, et al.; see LICENSE file for details.