db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmars...@apache.org
Subject svn commit: r412006 - in /db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests: master/DerbyNet/ master/DerbyNetClient/ suites/ tests/lang/
Date Tue, 06 Jun 2006 05:00:04 GMT
Author: kmarsden
Date: Mon Jun  5 22:00:03 2006
New Revision: 412006

URL: http://svn.apache.org/viewvc?rev=412006&view=rev
Log:
DERBY-593 Add jdk14 suite to network server tests

Contributed by Deepa Remesh


Added:
    db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNet/procedureJdbc30.out
  (with props)
    db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/procedureJdbc30.out
  (with props)
Modified:
    db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/suites/DerbyNet.exclude
    db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/suites/DerbyNetClient.exclude
    db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/suites/derbynetmats.properties
    db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/tests/lang/holdCursorJava.java

Added: db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNet/procedureJdbc30.out
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNet/procedureJdbc30.out?rev=412006&view=auto
==============================================================================
--- db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNet/procedureJdbc30.out
(added)
+++ db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNet/procedureJdbc30.out
Mon Jun  5 22:00:03 2006
@@ -0,0 +1,195 @@
+Fetching result sets with getMoreResults()
+  PASS 1 got result set true
+     RS (1) val 2
+  PASS 2 got result set true
+     Exception - Invalid operation: result set closed
+     RS (2) val 3
+  PASS 3 got result set true
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     RS (3) val 4
+  PASS 4 got result set true
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     RS (4) val 5
+  PASS 5 got result set true
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     RS (5) val 6
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+Fetching result sets with getMoreResults(Statement.CLOSE_CURRENT_RESULT)
+  PASS 1 got result set true
+     RS (1) val 2
+  PASS 2 got result set true
+     Exception - Invalid operation: result set closed
+     RS (2) val 3
+  PASS 3 got result set true
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     RS (3) val 4
+  PASS 4 got result set true
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     RS (4) val 5
+  PASS 5 got result set true
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     RS (5) val 6
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+Fetching result sets with getMoreResults(Statement.CLOSE_ALL_RESULTS)
+  PASS 1 got result set true
+     RS (1) val 2
+  PASS 2 got result set true
+     Exception - Invalid operation: result set closed
+     RS (2) val 3
+  PASS 3 got result set true
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     RS (3) val 4
+  PASS 4 got result set true
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     RS (4) val 5
+  PASS 5 got result set true
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     RS (5) val 6
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+Fetching result sets with getMoreResults(Statement.KEEP_CURRENT_RESULT)
+  PASS 1 got result set true
+     RS (1) val 2
+  PASS 2 got result set true
+     RS (1) val 3
+     RS (2) val 3
+  PASS 3 got result set true
+     RS (1) val 4
+     RS (2) val 4
+     RS (3) val 4
+  PASS 4 got result set true
+     RS (1) val 5
+     RS (2) val 5
+     RS (3) val 5
+     RS (4) val 5
+  PASS 5 got result set true
+     RS (1) val 6
+     RS (2) val 6
+     RS (3) val 6
+     RS (4) val 6
+     RS (5) val 6
+     RS (1) val 7
+     RS (2) val 7
+     RS (3) val 7
+     RS (4) val 7
+     RS (5) val 7
+Fetching result sets with getMoreResults(<mixture>)
+ first two with KEEP_CURRENT_RESULT
+     RS (1) val 2
+     RS (2) val 3
+ third with CLOSE_CURRENT_RESULT
+     RS (1) val 3
+     Exception - Invalid operation: result set closed
+     RS (3) val 4
+ fourth with KEEP_CURRENT_RESULT
+     RS (1) val 4
+     Exception - Invalid operation: result set closed
+     RS (3) val 5
+     RS (4) val 5
+ fifth with CLOSE_ALL_RESULTS
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     RS (5) val 6
+ no more results with with KEEP_CURRENT_RESULT
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     RS (5) val 7
+Fetching result sets with getMoreResults(Statement.KEEP_CURRENT_RESULT) and checking that
cs.execute() closes them
+  PASS 1 got result set true
+     RS (1) val 2
+  PASS 2 got result set true
+     RS (1) val 3
+     RS (2) val 3
+  PASS 3 got result set true
+     RS (1) val 4
+     RS (2) val 4
+     RS (3) val 4
+  PASS 4 got result set true
+     RS (1) val 5
+     RS (2) val 5
+     RS (3) val 5
+     RS (4) val 5
+  PASS 5 got result set true
+     RS (1) val 6
+     RS (2) val 6
+     RS (3) val 6
+     RS (4) val 6
+     RS (5) val 6
+ fetched all results
+     RS (1) val 7
+     RS (2) val 7
+     RS (3) val 7
+     RS (4) val 7
+     RS (5) val 7
+ executing statement
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+Fetching result sets with getMoreResults(Statement.KEEP_CURRENT_RESULT) and checking that
cs.close() closes them
+  PASS 1 got result set true
+     RS (1) val 2
+  PASS 2 got result set true
+     RS (1) val 3
+     RS (2) val 3
+  PASS 3 got result set true
+     RS (1) val 4
+     RS (2) val 4
+     RS (3) val 4
+  PASS 4 got result set true
+     RS (1) val 5
+     RS (2) val 5
+     RS (3) val 5
+     RS (4) val 5
+  PASS 5 got result set true
+     RS (1) val 6
+     RS (2) val 6
+     RS (3) val 6
+     RS (4) val 6
+     RS (5) val 6
+ fetched all results
+     RS (1) val 7
+     RS (2) val 7
+     RS (3) val 7
+     RS (4) val 7
+     RS (5) val 7
+ closing statement
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed

Propchange: db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNet/procedureJdbc30.out
------------------------------------------------------------------------------
    svn:eol-style = native

Added: db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/procedureJdbc30.out
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/procedureJdbc30.out?rev=412006&view=auto
==============================================================================
--- db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/procedureJdbc30.out
(added)
+++ db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/procedureJdbc30.out
Mon Jun  5 22:00:03 2006
@@ -0,0 +1,195 @@
+Fetching result sets with getMoreResults()
+  PASS 1 got result set true
+     RS (1) val 2
+  PASS 2 got result set true
+     Exception - Invalid operation: result set closed
+     RS (2) val 3
+  PASS 3 got result set true
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     RS (3) val 4
+  PASS 4 got result set true
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     RS (4) val 5
+  PASS 5 got result set true
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     RS (5) val 6
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+Fetching result sets with getMoreResults(Statement.CLOSE_CURRENT_RESULT)
+  PASS 1 got result set true
+     RS (1) val 2
+  PASS 2 got result set true
+     Exception - Invalid operation: result set closed
+     RS (2) val 3
+  PASS 3 got result set true
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     RS (3) val 4
+  PASS 4 got result set true
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     RS (4) val 5
+  PASS 5 got result set true
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     RS (5) val 6
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+Fetching result sets with getMoreResults(Statement.CLOSE_ALL_RESULTS)
+  PASS 1 got result set true
+     RS (1) val 2
+  PASS 2 got result set true
+     Exception - Invalid operation: result set closed
+     RS (2) val 3
+  PASS 3 got result set true
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     RS (3) val 4
+  PASS 4 got result set true
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     RS (4) val 5
+  PASS 5 got result set true
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     RS (5) val 6
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+Fetching result sets with getMoreResults(Statement.KEEP_CURRENT_RESULT)
+  PASS 1 got result set true
+     RS (1) val 2
+  PASS 2 got result set true
+     RS (1) val 3
+     RS (2) val 3
+  PASS 3 got result set true
+     RS (1) val 4
+     RS (2) val 4
+     RS (3) val 4
+  PASS 4 got result set true
+     RS (1) val 5
+     RS (2) val 5
+     RS (3) val 5
+     RS (4) val 5
+  PASS 5 got result set true
+     RS (1) val 6
+     RS (2) val 6
+     RS (3) val 6
+     RS (4) val 6
+     RS (5) val 6
+     RS (1) val 7
+     RS (2) val 7
+     RS (3) val 7
+     RS (4) val 7
+     RS (5) val 7
+Fetching result sets with getMoreResults(<mixture>)
+ first two with KEEP_CURRENT_RESULT
+     RS (1) val 2
+     RS (2) val 3
+ third with CLOSE_CURRENT_RESULT
+     RS (1) val 3
+     Exception - Invalid operation: result set closed
+     RS (3) val 4
+ fourth with KEEP_CURRENT_RESULT
+     RS (1) val 4
+     Exception - Invalid operation: result set closed
+     RS (3) val 5
+     RS (4) val 5
+ fifth with CLOSE_ALL_RESULTS
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     RS (5) val 6
+ no more results with with KEEP_CURRENT_RESULT
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     RS (5) val 7
+Fetching result sets with getMoreResults(Statement.KEEP_CURRENT_RESULT) and checking that
cs.execute() closes them
+  PASS 1 got result set true
+     RS (1) val 2
+  PASS 2 got result set true
+     RS (1) val 3
+     RS (2) val 3
+  PASS 3 got result set true
+     RS (1) val 4
+     RS (2) val 4
+     RS (3) val 4
+  PASS 4 got result set true
+     RS (1) val 5
+     RS (2) val 5
+     RS (3) val 5
+     RS (4) val 5
+  PASS 5 got result set true
+     RS (1) val 6
+     RS (2) val 6
+     RS (3) val 6
+     RS (4) val 6
+     RS (5) val 6
+ fetched all results
+     RS (1) val 7
+     RS (2) val 7
+     RS (3) val 7
+     RS (4) val 7
+     RS (5) val 7
+ executing statement
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+Fetching result sets with getMoreResults(Statement.KEEP_CURRENT_RESULT) and checking that
cs.close() closes them
+  PASS 1 got result set true
+     RS (1) val 2
+  PASS 2 got result set true
+     RS (1) val 3
+     RS (2) val 3
+  PASS 3 got result set true
+     RS (1) val 4
+     RS (2) val 4
+     RS (3) val 4
+  PASS 4 got result set true
+     RS (1) val 5
+     RS (2) val 5
+     RS (3) val 5
+     RS (4) val 5
+  PASS 5 got result set true
+     RS (1) val 6
+     RS (2) val 6
+     RS (3) val 6
+     RS (4) val 6
+     RS (5) val 6
+ fetched all results
+     RS (1) val 7
+     RS (2) val 7
+     RS (3) val 7
+     RS (4) val 7
+     RS (5) val 7
+ closing statement
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed
+     Exception - Invalid operation: result set closed

Propchange: db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/procedureJdbc30.out
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/suites/DerbyNet.exclude
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/suites/DerbyNet.exclude?rev=412006&r1=412005&r2=412006&view=diff
==============================================================================
--- db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/suites/DerbyNet.exclude
(original)
+++ db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/suites/DerbyNet.exclude
Mon Jun  5 22:00:03 2006
@@ -7,6 +7,10 @@
 # excluding lang/updatableResultSet.java because changes are required in JCC Driver for this
test to run correctly
 # excluding jdbcapi/rsgetXXXcolumnNames.java as it fails incorrectly, according to JDBC spec.
Forwarding test case to JCC team.
 # excluding jdbcapi/derbyStress.java - jcc runs out of memory with this test
+# excluding jdbcapi/resultsetJdbc30.java because the features tested are not implemented
by JCC driver or ClientDriver
+# excluding jdbcapi/checkDataSource30.java - Client behaves differently. Need to look into
this
+# excluding jdbcapi/statementJdbc30.java - Client behaves differently. Need to look into
this
+# excluding jdbcapi/holdCursorJava.java - JCC behaves differently with hold cursors.
 jdbcapi/resultsetStream.java
 lang/errorStream.java
 lang/scrollCursors2.java
@@ -16,3 +20,7 @@
 jdbcapi/rsgetXXXcolumnNames.java
 lang/updatableResultSet.java
 jdbcapi/derbyStress.java
+jdbcapi/resultsetJdbc30.java
+jdbcapi/checkDataSource30.java
+jdbcapi/statementJdbc30.java
+lang/holdCursorJava.java

Modified: db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/suites/DerbyNetClient.exclude
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/suites/DerbyNetClient.exclude?rev=412006&r1=412005&r2=412006&view=diff
==============================================================================
--- db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/suites/DerbyNetClient.exclude
(original)
+++ db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/suites/DerbyNetClient.exclude
Mon Jun  5 22:00:03 2006
@@ -4,9 +4,15 @@
 # excluding batchUpdate.java for it hits a problem in networkserver ('beetle' 5561)
 # excluding statementJdbc20.java because this tests fetch_reverse throughout the test
 # excluding jdbcapi/testRelative.java because it is a new test that requires debugging with
the IBM Driver
+# excluding jdbcapi/resultsetJdbc30.java because the features tested are not implemented
by Derby Client
+# excluding jdbcapi/checkDataSource30.java - Client behaves differently. Need to look into
this
+# excluding jdbcapi/statementJdbc30.java - Client behaves differently. Need to look into
this
 jdbcapi/resultsetStream.java
 lang/errorStream.java
 lang/scrollCursors2.java
 jdbcapi/batchUpdate.java
 jdbcapi/statementJdbc20.java
 jdbcapi/testRelative.java
+jdbcapi/resultsetJdbc30.java
+jdbcapi/checkDataSource30.java
+jdbcapi/statementJdbc30.java

Modified: db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/suites/derbynetmats.properties
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/suites/derbynetmats.properties?rev=412006&r1=412005&r2=412006&view=diff
==============================================================================
--- db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/suites/derbynetmats.properties
(original)
+++ db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/suites/derbynetmats.properties
Mon Jun  5 22:00:03 2006
@@ -1,5 +1,5 @@
 framework=DerbyNet
-suites=derbynetmats jdbcapi jdbc20 multi
+suites=derbynetmats jdbcapi jdbc20 multi jdk14
 jdk12test=true
 runwithj9=false
 timeout=60

Modified: db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/tests/lang/holdCursorJava.java
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/tests/lang/holdCursorJava.java?rev=412006&r1=412005&r2=412006&view=diff
==============================================================================
--- db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/tests/lang/holdCursorJava.java
(original)
+++ db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/tests/lang/holdCursorJava.java
Mon Jun  5 22:00:03 2006
@@ -56,6 +56,7 @@
 		testHoldCursorOnMultiTableQuery(conn);
 		testIsolationLevelChange(conn);
 
+		conn.rollback();
 		conn.close();
     } catch (Exception e) {
 		System.out.println("FAIL -- unexpected exception "+e);



Mime
View raw message