db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r425326 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/ConnectionTest.java
Date Tue, 25 Jul 2006 08:12:42 GMT
Author: kahatlen
Date: Tue Jul 25 01:12:41 2006
New Revision: 425326

URL: http://svn.apache.org/viewvc?rev=425326&view=rev
Log:
DERBY-1536: Adding assert in unwrap test jdbc4/ConnectionTest.junit

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/ConnectionTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/ConnectionTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/ConnectionTest.java?rev=425326&r1=425325&r2=425326&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/ConnectionTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/ConnectionTest.java
Tue Jul 25 01:12:41 2006
@@ -285,6 +285,7 @@
     public void testUnwrapValid()
         throws SQLException {
         Connection unwrappedCon = con.unwrap(Connection.class);
+        assertSame("Unwrap returned wrong object.", con, unwrappedCon);
     }
 
     public void testUnwrapInvalid()



Mime
View raw message