add testcase

This commit is contained in:
wenshao
2012-01-04 13:38:19 +08:00
parent 64d3e2eac1
commit 408b5c778f
4 changed files with 77 additions and 3 deletions
@@ -54,7 +54,7 @@ public class WrapImplTest extends TestCase {
Assert.assertEquals(url, dataSource.getUrl());
Assert.assertEquals("jdbc:derby:classpath:petstore-db", dataSource.getRawUrl());
Assert.assertEquals(10, dataSource.getRawDriverMajorVersion());
Assert.assertEquals(6, dataSource.getRawDriverMinorVersion());
Assert.assertEquals(8, dataSource.getRawDriverMinorVersion());
Assert.assertFalse(connection.isWrapperFor(com.mysql.jdbc.Connection.class));
Assert.assertTrue(connection.isWrapperFor(ConnectionProxyImpl.class));