saffron.test
Class JdbcTest
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--saffron.test.JdbcTest
- All Implemented Interfaces:
- Test
- public class JdbcTest
- extends TestCase
JdbcTest
is a set of unit tests
- Since:
- Mar 21, 2003
- Version:
- $Id: //open/saffron/src/main/saffron/test/JdbcTest.java#1 $
- Author:
- jhyde
Fields inherited from class junit.framework.TestCase |
|
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
driverClassName
private static final String driverClassName
- See Also:
- Constant Field Values
nl
private static final String nl
JdbcTest
public JdbcTest(String name)
getConnection
private Connection getConnection()
throws SQLException
SQLException
testImplicitRegistration
public void testImplicitRegistration()
throws ClassNotFoundException,
InstantiationException,
IllegalAccessException,
SQLException
ClassNotFoundException
InstantiationException
IllegalAccessException
SQLException
testRegisterDriver
public void testRegisterDriver()
throws ClassNotFoundException,
InstantiationException,
IllegalAccessException,
SQLException
ClassNotFoundException
InstantiationException
IllegalAccessException
SQLException
testConnect
public void testConnect()
throws SQLException
SQLException
testQuery
private void testQuery(String query,
String expected)
throws SQLException
SQLException
testSimpleQuery
public void testSimpleQuery()
throws SQLException
SQLException
testJoin
public void testJoin()
throws SQLException
SQLException
testOuterJoinToQuery
public void testOuterJoinToQuery()
throws SQLException
SQLException
toString
private String toString(ResultSet resultSet)
throws SQLException
SQLException
foo
public void foo()