net.sf.saffron.test
Class JdbcTest
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--net.sf.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/net/sf/saffron/test/JdbcTest.java#2 $
- 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)
foo
public void foo()
testConnect
public void testConnect()
throws SQLException
SQLException
testImplicitRegistration
public void testImplicitRegistration()
throws ClassNotFoundException,
InstantiationException,
IllegalAccessException,
SQLException
ClassNotFoundException
InstantiationException
IllegalAccessException
SQLException
testJoin
public void testJoin()
throws SQLException
SQLException
testOuterJoinToQuery
public void testOuterJoinToQuery()
throws SQLException
SQLException
testRegisterDriver
public void testRegisterDriver()
throws ClassNotFoundException,
InstantiationException,
IllegalAccessException,
SQLException
ClassNotFoundException
InstantiationException
IllegalAccessException
SQLException
testSimpleQuery
public void testSimpleQuery()
throws SQLException
SQLException
getConnection
private Connection getConnection()
throws SQLException
SQLException
testQuery
private void testQuery(String query,
String expected)
throws SQLException
SQLException
toString
private String toString(ResultSet resultSet)
throws SQLException
SQLException