db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhille...@apache.org
Subject svn commit: r1469861 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/DeclareGlobalTempTableJavaJDBC30Test.java
Date Fri, 19 Apr 2013 14:52:16 GMT
Author: rhillegas
Date: Fri Apr 19 14:52:16 2013
New Revision: 1469861

URL: http://svn.apache.org/r1469861
Log:
DERBY-6189: Streamline test case.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/DeclareGlobalTempTableJavaJDBC30Test.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/DeclareGlobalTempTableJavaJDBC30Test.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/DeclareGlobalTempTableJavaJDBC30Test.java?rev=1469861&r1=1469860&r2=1469861&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/DeclareGlobalTempTableJavaJDBC30Test.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/DeclareGlobalTempTableJavaJDBC30Test.java
Fri Apr 19 14:52:16 2013
@@ -946,14 +946,7 @@ public class DeclareGlobalTempTableJavaJ
 
         conn.rollback();
 
-        try {
-            pStmtInsert.execute();
-            fail( "Should fail!" );
-        }
-        catch ( SQLException se)
-        {
-            assertEquals( "42X05", se.getSQLState() );
-        }
+        assertStatementError("42X05", pStmtInsert); 
     }
     
 }



Mime
View raw message