You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by dj...@apache.org on 2007/02/21 17:31:07 UTC

svn commit: r510087 - in /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/junitTests/compatibility: JDBCDriverTest.java build.xml

Author: djd
Date: Wed Feb 21 08:31:06 2007
New Revision: 510087

URL: http://svn.apache.org/viewvc?view=rev&rev=510087
Log:
DERBY-1983 (partial) Remove use of java13compile.classpath and add extra JDBC 3 methods to Blob/Clob
test implementations in tests.junitTests.compaibility.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/junitTests/compatibility/JDBCDriverTest.java
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/junitTests/compatibility/build.xml

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/junitTests/compatibility/JDBCDriverTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/junitTests/compatibility/JDBCDriverTest.java?view=diff&rev=510087&r1=510086&r2=510087
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/junitTests/compatibility/JDBCDriverTest.java (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/junitTests/compatibility/JDBCDriverTest.java Wed Feb 21 08:31:06 2007
@@ -1086,6 +1086,22 @@
 			return true;
 		}
 
+        public int setBytes(long arg0, byte[] arg1) throws SQLException {
+            throw new SQLException("not implemented for this test");
+        }
+
+        public int setBytes(long arg0, byte[] arg1, int arg2, int arg3) throws SQLException {
+            throw new SQLException("not implemented for this test");
+        }
+
+        public OutputStream setBinaryStream(long arg0) throws SQLException {
+            throw new SQLException("not implemented for this test");
+        }
+
+        public void truncate(long arg0) throws SQLException {
+            throw new SQLException("not implemented for this test");
+        }
+
 	}
 
 	/**
@@ -1155,6 +1171,27 @@
 
 			return true;
 		}
+
+        public int setString(long arg0, String arg1) throws SQLException {
+            throw new SQLException("not implemented for this test");
+        }
+
+        public int setString(long arg0, String arg1, int arg2, int arg3) throws SQLException {
+            throw new SQLException("not implemented for this test");
+        }
+
+        public OutputStream setAsciiStream(long arg0) throws SQLException {
+            throw new SQLException("not implemented for this test");
+        }
+
+        public Writer setCharacterStream(long arg0) throws SQLException {
+            throw new SQLException("not implemented for this test");
+        }
+
+        public void truncate(long arg0) throws SQLException {
+            throw new SQLException("not implemented for this test");
+            
+        }
 
 	}
 

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/junitTests/compatibility/build.xml
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/junitTests/compatibility/build.xml?view=diff&rev=510087&r1=510086&r2=510087
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/junitTests/compatibility/build.xml (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/junitTests/compatibility/build.xml Wed Feb 21 08:31:06 2007
@@ -58,8 +58,8 @@
 
   <target name="compilex">
     <javac
-      source="1.3"
-      target="1.3"
+      source="1.4"
+      target="1.4"
       bootclasspath="${empty}"
       nowarn="on"
       debug="true"
@@ -71,7 +71,7 @@
       srcdir="${derby.testing.src.dir}"
       destdir="${out.dir}">
       <classpath>
-        <pathelement path="${java13compile.classpath}"/>
+        <pathelement path="${java14compile.classpath}"/>
 	<pathelement path="${junit}"/>
       </classpath>
       <include name="${this.dir}/*.java"/>