harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From py...@apache.org
Subject svn commit: r556835 [3/3] - in /harmony/enhanced/classlib/branches/java6/modules/sql/src: main/java/java/sql/ main/java/javax/sql/ test/java/org/apache/harmony/sql/tests/java/sql/ test/java/org/apache/harmony/sql/tests/javax/sql/ test/java/org/apache/h...
Date Tue, 17 Jul 2007 07:43:27 GMT
Modified: harmony/enhanced/classlib/branches/java6/modules/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/SQLWarningTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/branches/java6/modules/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/SQLWarningTest.java?view=diff&rev=556835&r1=556834&r2=556835
==============================================================================
Binary files /tmp/tmpbVFzjB and /tmp/tmp6kda4l differ

Modified: harmony/enhanced/classlib/branches/java6/modules/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/TypesTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/branches/java6/modules/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/TypesTest.java?view=diff&rev=556835&r1=556834&r2=556835
==============================================================================
--- harmony/enhanced/classlib/branches/java6/modules/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/TypesTest.java
(original)
+++ harmony/enhanced/classlib/branches/java6/modules/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/TypesTest.java
Tue Jul 17 00:43:20 2007
@@ -26,42 +26,42 @@
      * Public statics test
      */
     public void testPublicStatics() {
-        assertEquals(ARRAY,2003);
-        assertEquals(BIGINT,-5);
-        assertEquals(BINARY,-2);
-        assertEquals(BIT,-7);
-        assertEquals(BLOB,2004);
-        assertEquals(BOOLEAN,16);
-        assertEquals(CHAR,1);
-        assertEquals(CLOB,2005);
-        assertEquals(DATALINK,70);
-        assertEquals(DATE,91);
-        assertEquals(DECIMAL,3);
-        assertEquals(DISTINCT,2001);
-        assertEquals(DOUBLE,8);
-        assertEquals(FLOAT,6);
-        assertEquals(INTEGER,4);
-        assertEquals(JAVA_OBJECT,2000);
-        assertEquals(LONGNVARCHAR,-16);
-        assertEquals(LONGVARBINARY,-4);
-        assertEquals(LONGVARCHAR,-1);
-        assertEquals(NCHAR,-15);
-        assertEquals(NCLOB,2011);
-        assertEquals(NULL,0);
-        assertEquals(NUMERIC,2);
-        assertEquals(NVARCHAR,-9);
-        assertEquals(OTHER,1111);
-        assertEquals(REAL,7);
-        assertEquals(REF,2006);
-        assertEquals(ROWID,-8);
-        assertEquals(SMALLINT,5);
-        assertEquals(SQLXML,2009);
-        assertEquals(STRUCT,2002);
-        assertEquals(TIME,92);
-        assertEquals(TIMESTAMP,93);
-        assertEquals(TINYINT,-6);
-        assertEquals(VARBINARY,-3);
-        assertEquals(VARCHAR,12);
+        assertEquals(ARRAY, 2003);
+        assertEquals(BIGINT, -5);
+        assertEquals(BINARY, -2);
+        assertEquals(BIT, -7);
+        assertEquals(BLOB, 2004);
+        assertEquals(BOOLEAN, 16);
+        assertEquals(CHAR, 1);
+        assertEquals(CLOB, 2005);
+        assertEquals(DATALINK, 70);
+        assertEquals(DATE, 91);
+        assertEquals(DECIMAL, 3);
+        assertEquals(DISTINCT, 2001);
+        assertEquals(DOUBLE, 8);
+        assertEquals(FLOAT, 6);
+        assertEquals(INTEGER, 4);
+        assertEquals(JAVA_OBJECT, 2000);
+        assertEquals(LONGNVARCHAR, -16);
+        assertEquals(LONGVARBINARY, -4);
+        assertEquals(LONGVARCHAR, -1);
+        assertEquals(NCHAR, -15);
+        assertEquals(NCLOB, 2011);
+        assertEquals(NULL, 0);
+        assertEquals(NUMERIC, 2);
+        assertEquals(NVARCHAR, -9);
+        assertEquals(OTHER, 1111);
+        assertEquals(REAL, 7);
+        assertEquals(REF, 2006);
+        assertEquals(ROWID, -8);
+        assertEquals(SMALLINT, 5);
+        assertEquals(SQLXML, 2009);
+        assertEquals(STRUCT, 2002);
+        assertEquals(TIME, 92);
+        assertEquals(TIMESTAMP, 93);
+        assertEquals(TINYINT, -6);
+        assertEquals(VARBINARY, -3);
+        assertEquals(VARCHAR, 12);
     }
 
 }

Modified: harmony/enhanced/classlib/branches/java6/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/Impl_RowSet.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/branches/java6/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/Impl_RowSet.java?view=diff&rev=556835&r1=556834&r2=556835
==============================================================================
--- harmony/enhanced/classlib/branches/java6/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/Impl_RowSet.java
(original)
+++ harmony/enhanced/classlib/branches/java6/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/Impl_RowSet.java
Tue Jul 17 00:43:20 2007
@@ -37,7 +37,6 @@
 import java.sql.Timestamp;
 import java.util.Calendar;
 import java.util.Map;
-
 import javax.sql.RowSet;
 import javax.sql.RowSetListener;
 
@@ -764,431 +763,510 @@
         return false;
     }
 
-	public boolean isWrapperFor(Class<?> iface) throws SQLException {
-		return false;
-	}
-
-	public <T> T unwrap(Class<T> iface) throws SQLException {
-		return null;
-	}
-
-	public int getHoldability() throws SQLException {
-		return 0;
-	}
-
-	public Reader getNCharacterStream(int columnIndex) throws SQLException {
-		return null;
-	}
-
-	public Reader getNCharacterStream(String columnLabel) throws SQLException {
-		return null;
-	}
-
-	public NClob getNClob(int columnIndex) throws SQLException {
-		return null;
-	}
-
-	public NClob getNClob(String columnLabel) throws SQLException {
-		return null;
-	}
-
-	public String getNString(int columnIndex) throws SQLException {
-		return null;
-	}
-
-	public String getNString(String columnLabel) throws SQLException {
-		return null;
-	}
-
-	public RowId getRowId(int columnIndex) throws SQLException {
-		return null;
-	}
-
-	public RowId getRowId(String columnLabel) throws SQLException {
-				return null;
-	}
-
-	public SQLXML getSQLXML(int columnIndex) throws SQLException {
-				return null;
-	}
-
-	public SQLXML getSQLXML(String columnLabel) throws SQLException {
-				return null;
-	}
-
-	public boolean isClosed() throws SQLException {
-				return false;
-	}
-
-	public void updateAsciiStream(int columnIndex, InputStream x, long length) throws SQLException
{
-				
-	}
-
-	public void updateAsciiStream(String columnLabel, InputStream x, long length) throws SQLException
{
-				
-	}
-
-	public void updateAsciiStream(int columnIndex, InputStream x) throws SQLException {
-				
-	}
-
-	public void updateAsciiStream(String columnLabel, InputStream x) throws SQLException {
-				
-	}
-
-	public void updateBinaryStream(int columnIndex, InputStream x, long length) throws SQLException
{
-				
-	}
-
-	public void updateBinaryStream(String columnLabel, InputStream x, long length) throws SQLException
{
-				
-	}
-
-	public void updateBinaryStream(int columnIndex, InputStream x) throws SQLException {
-				
-	}
-
-	public void updateBinaryStream(String columnLabel, InputStream x) throws SQLException {
-				
-	}
-
-	public void updateBlob(int columnIndex, InputStream inputStream, long length) throws SQLException
{
-				
-	}
-
-	public void updateBlob(String columnLabel, InputStream inputStream, long length) throws
SQLException {
-				
-	}
-
-	public void updateBlob(int columnIndex, InputStream inputStream) throws SQLException {
-				
-	}
-
-	public void updateBlob(String columnLabel, InputStream inputStream) throws SQLException
{
-				
-	}
-
-	public void updateCharacterStream(int columnIndex, Reader x, long length) throws SQLException
{
-				
-	}
-
-	public void updateCharacterStream(String columnLabel, Reader reader, long length) throws
SQLException {
-				
-	}
-
-	public void updateCharacterStream(int columnIndex, Reader x) throws SQLException {
-				
-	}
-
-	public void updateCharacterStream(String columnLabel, Reader reader) throws SQLException
{
-				
-	}
-
-	public void updateClob(int columnIndex, Reader reader, long length) throws SQLException
{
-				
-	}
-
-	public void updateClob(String columnLabel, Reader reader, long length) throws SQLException
{
-				
-	}
-
-	public void updateClob(int columnIndex, Reader reader) throws SQLException {
-				
-	}
-
-	public void updateClob(String columnLabel, Reader reader) throws SQLException {
-				
-	}
-
-	public void updateNCharacterStream(int columnIndex, Reader x, long length) throws SQLException
{
-				
-	}
-
-	public void updateNCharacterStream(String columnLabel, Reader reader, long length) throws
SQLException {
-				
-	}
-
-	public void updateNCharacterStream(int columnIndex, Reader x) throws SQLException {
-				
-	}
-
-	public void updateNCharacterStream(String columnLabel, Reader reader) throws SQLException
{
-				
-	}
-
-	public void updateNClob(int columnIndex, NClob nClob) throws SQLException {
-				
-	}
-
-	public void updateNClob(String columnLabel, NClob nClob) throws SQLException {
-				
-	}
-
-	public void updateNClob(int columnIndex, Reader reader, long length) throws SQLException
{
-				
-	}
-
-	public void updateNClob(String columnLabel, Reader reader, long length) throws SQLException
{
-				
-	}
-
-	public void updateNClob(int columnIndex, Reader reader) throws SQLException {
-				
-	}
-
-	public void updateNClob(String columnLabel, Reader reader) throws SQLException {
-				
-	}
-
-	public void updateNString(int columnIndex, String nString) throws SQLException {
-				
-	}
-
-	public void updateNString(String columnLabel, String nString) throws SQLException {
-				
-	}
-
-	public void updateRowId(int columnIndex, RowId x) throws SQLException {
-				
-	}
-
-	public void updateRowId(String columnLabel, RowId x) throws SQLException {
-				
-	}
-
-	public void updateSQLXML(int columnIndex, SQLXML xmlObject) throws SQLException {
-				
-	}
-
-	public void updateSQLXML(String columnLabel, SQLXML xmlObject) throws SQLException {
-				
-	}
-
-	public void setAsciiStream(int parameterIndex, InputStream theInputStream) throws SQLException
{
-				
-	}
-
-	public void setAsciiStream(String parameterName, InputStream theInputStream) throws SQLException
{
-				
-	}
-
-	public void setAsciiStream(String parameterName, InputStream theInputStream, int length)
throws SQLException {
-				
-	}
-
-	public void setBigDecimal(String parameterName, BigDecimal theBigDecimal) throws SQLException
{
-				
-	}
-
-	public void setBinaryStream(int parameterIndex, InputStream theInputStream) throws SQLException
{
-				
-	}
-
-	public void setBinaryStream(String parameterName, InputStream theInputStream) throws SQLException
{
-				
-	}
-
-	public void setBinaryStream(String parameterName, InputStream theInputStream, int length)
throws SQLException {
-				
-	}
-
-	public void setBlob(int parameterIndex, InputStream theInputStream) throws SQLException
{
-				
-	}
-
-	public void setBlob(int parameterIndex, InputStream theInputStream, long length) throws
SQLException {
-				
-	}
-
-	public void setBlob(String parameterName, InputStream theInputStream) throws SQLException
{
-				
-	}
-
-	public void setBlob(String parameterName, InputStream theInputStream, long length) throws
SQLException {
-				
-	}
-
-	public void setBlob(String parameterName, Blob theBlob) throws SQLException {
-				
-	}
-
-	public void setBoolean(String parameterName, boolean theBoolean) throws SQLException {
-				
-	}
-
-	public void setByte(String parameterName, byte theByte) throws SQLException {
-				
-	}
-
-	public void setBytes(String parametername, byte[] theByteArray) throws SQLException {
-				
-	}
-
-	public void setCharacterStream(int parameterIndex, Reader theReader) throws SQLException
{
-				
-	}
-
-	public void setCharacterStream(String parameterName, Reader theReader) throws SQLException
{
-				
-	}
-
-	public void setCharacterStream(String parameterName, Reader theReader, int length) throws
SQLException {
-				
-	}
-
-	public void setClob(int parameterIndex, Reader theReader) throws SQLException {
-				
-	}
-
-	public void setClob(int parameterIndex, Reader theReader, long length) throws SQLException
{
-				
-	}
-
-	public void setClob(String parameterName, Reader theReader) throws SQLException {
-				
-	}
-
-	public void setClob(String parameterName, Reader theReader, long length) throws SQLException
{
-				
-	}
-	
-	public void setDate(String parameterName, Date theDate) throws SQLException {
-				
-	}
-
-	public void setDate(String parameterName, Date theDate, Calendar theCalendar) throws SQLException
{
-				
-	}
-
-	public void setDouble(String parameterName, double theDouble) throws SQLException {
-				
-	}
-
-	public void setFloat(String parameterName, float theFloat) throws SQLException {
-				
-	}
-
-	public void setInt(String parameterName, int theInteger) throws SQLException {
-				
-	}
-
-	public void setLong(String parameterName, long theLong) throws SQLException {
-				
-	}
-
-	public void setNCharacterStream(int parameterIndex, Reader theReader) throws SQLException
{
-				
-	}
-
-	public void setNCharacterStream(int parameterIndex, Reader theReader, long length) throws
SQLException {
-				
-	}
-
-	public void setNCharacterStream(String parameterName, Reader theReader) throws SQLException
{
-				
-	}
-
-	public void setNCharacterStream(String parameterName, Reader theReader, long length) throws
SQLException {
-				
-	}
-
-	public void setNClob(int parameterIndex, NClob theNClob) throws SQLException {
-				
-	}
-
-	public void setNClob(int parameterIndex, Reader theReader) throws SQLException {
-				
-	}
-
-	public void setNClob(int parameterIndex, Reader theReader, long length) throws SQLException
{
-				
-	}
-
-	public void setNClob(String parameterName, Reader theReader) throws SQLException {
-				
-	}
-
-	public void setNClob(String parameterName, Reader theReader, long length) throws SQLException
{
-				
-	}
-
-	public void setNString(int parameterIndex, String theNString) throws SQLException {
-				
-	}
-
-	public void setNString(String parameterName, String theNString) throws SQLException {
-				
-	}
-
-	public void setNull(String parameterName, int sqlType) throws SQLException {
-				
-	}
-
-	public void setNull(String parameterName, int sqlType, String typeName) throws SQLException
{
-				
-	}
-
-	public void setObject(String parameterName, Object theObject) throws SQLException {
-				
-	}
-
-	public void setObject(String parameterName, Object theObject, int targetSqlType) throws
SQLException {
-				
-	}
-
-	public void setObject(String parameterName, Object theObject, int targetSqlType, int scale)
throws SQLException {
-				
-	}
-
-	public void setRowId(int parameterIndex, RowId theRowId) throws SQLException {
-				
-	}
-
-	public void setRowId(String parameterName, RowId theRowId) throws SQLException {
-				
-	}
-
-	public void setSQLXML(int parameterIndex, SQLXML theSQLXML) throws SQLException {
-				
-	}
-
-	public void setSQLXML(String parameterName, SQLXML theSQLXML) throws SQLException {
-				
-	}
-
-	public void setShort(String parameterName, short theShort) throws SQLException {
-				
-	}
-
-	public void setString(String parameterName, String theString) throws SQLException {
-				
-	}
-
-	public void setTime(String parameterName, Time theTime) throws SQLException {
-				
-	}
-
-	public void setTime(String parameterName, Time theTime, Calendar theCalendar) throws SQLException
{
-				
-	}
-
-	public void setTimestamp(String parameterName, Timestamp theTimestamp) throws SQLException
{
-				
-	}
-
-	public void setTimestamp(String parameterName, Timestamp theTimestamp, Calendar theCalendar)
throws SQLException {
-				
-	}
-
-	public void setURL(int parameterIndex, URL theURL) throws SQLException {
-				
-	}
-
-	public void setClob(String parameterName, Clob x) throws SQLException {
-				
-	}
-
-	public void setNClob(String parameterName, NClob value) throws SQLException {
-				
-	}
+    public boolean isWrapperFor(Class<?> iface) throws SQLException {
+        return false;
+    }
+
+    public <T> T unwrap(Class<T> iface) throws SQLException {
+        return null;
+    }
+
+    public int getHoldability() throws SQLException {
+        return 0;
+    }
+
+    public Reader getNCharacterStream(int columnIndex) throws SQLException {
+        return null;
+    }
+
+    public Reader getNCharacterStream(String columnLabel) throws SQLException {
+        return null;
+    }
+
+    public NClob getNClob(int columnIndex) throws SQLException {
+        return null;
+    }
+
+    public NClob getNClob(String columnLabel) throws SQLException {
+        return null;
+    }
+
+    public String getNString(int columnIndex) throws SQLException {
+        return null;
+    }
+
+    public String getNString(String columnLabel) throws SQLException {
+        return null;
+    }
+
+    public RowId getRowId(int columnIndex) throws SQLException {
+        return null;
+    }
+
+    public RowId getRowId(String columnLabel) throws SQLException {
+        return null;
+    }
+
+    public SQLXML getSQLXML(int columnIndex) throws SQLException {
+        return null;
+    }
+
+    public SQLXML getSQLXML(String columnLabel) throws SQLException {
+        return null;
+    }
+
+    public boolean isClosed() throws SQLException {
+        return false;
+    }
+
+    public void updateAsciiStream(int columnIndex, InputStream x, long length)
+            throws SQLException {
+
+    }
+
+    public void updateAsciiStream(String columnLabel, InputStream x, long length)
+            throws SQLException {
+
+    }
+
+    public void updateAsciiStream(int columnIndex, InputStream x)
+            throws SQLException {
+
+    }
+
+    public void updateAsciiStream(String columnLabel, InputStream x)
+            throws SQLException {
+
+    }
+
+    public void updateBinaryStream(int columnIndex, InputStream x, long length)
+            throws SQLException {
+
+    }
+
+    public void updateBinaryStream(String columnLabel, InputStream x,
+            long length) throws SQLException {
+
+    }
+
+    public void updateBinaryStream(int columnIndex, InputStream x)
+            throws SQLException {
+
+    }
+
+    public void updateBinaryStream(String columnLabel, InputStream x)
+            throws SQLException {
+
+    }
+
+    public void updateBlob(int columnIndex, InputStream inputStream, long length)
+            throws SQLException {
+
+    }
+
+    public void updateBlob(String columnLabel, InputStream inputStream,
+            long length) throws SQLException {
+
+    }
+
+    public void updateBlob(int columnIndex, InputStream inputStream)
+            throws SQLException {
+
+    }
+
+    public void updateBlob(String columnLabel, InputStream inputStream)
+            throws SQLException {
+
+    }
+
+    public void updateCharacterStream(int columnIndex, Reader x, long length)
+            throws SQLException {
+
+    }
+
+    public void updateCharacterStream(String columnLabel, Reader reader,
+            long length) throws SQLException {
+
+    }
+
+    public void updateCharacterStream(int columnIndex, Reader x)
+            throws SQLException {
+
+    }
+
+    public void updateCharacterStream(String columnLabel, Reader reader)
+            throws SQLException {
+
+    }
+
+    public void updateClob(int columnIndex, Reader reader, long length)
+            throws SQLException {
+
+    }
+
+    public void updateClob(String columnLabel, Reader reader, long length)
+            throws SQLException {
+
+    }
+
+    public void updateClob(int columnIndex, Reader reader) throws SQLException {
+
+    }
+
+    public void updateClob(String columnLabel, Reader reader)
+            throws SQLException {
+
+    }
+
+    public void updateNCharacterStream(int columnIndex, Reader x, long length)
+            throws SQLException {
+
+    }
+
+    public void updateNCharacterStream(String columnLabel, Reader reader,
+            long length) throws SQLException {
+
+    }
+
+    public void updateNCharacterStream(int columnIndex, Reader x)
+            throws SQLException {
+
+    }
+
+    public void updateNCharacterStream(String columnLabel, Reader reader)
+            throws SQLException {
+
+    }
+
+    public void updateNClob(int columnIndex, NClob nClob) throws SQLException {
+
+    }
+
+    public void updateNClob(String columnLabel, NClob nClob)
+            throws SQLException {
+
+    }
+
+    public void updateNClob(int columnIndex, Reader reader, long length)
+            throws SQLException {
+
+    }
+
+    public void updateNClob(String columnLabel, Reader reader, long length)
+            throws SQLException {
+
+    }
+
+    public void updateNClob(int columnIndex, Reader reader) throws SQLException {
+
+    }
+
+    public void updateNClob(String columnLabel, Reader reader)
+            throws SQLException {
+
+    }
+
+    public void updateNString(int columnIndex, String nString)
+            throws SQLException {
+
+    }
+
+    public void updateNString(String columnLabel, String nString)
+            throws SQLException {
+
+    }
+
+    public void updateRowId(int columnIndex, RowId x) throws SQLException {
+
+    }
+
+    public void updateRowId(String columnLabel, RowId x) throws SQLException {
+
+    }
+
+    public void updateSQLXML(int columnIndex, SQLXML xmlObject)
+            throws SQLException {
+
+    }
+
+    public void updateSQLXML(String columnLabel, SQLXML xmlObject)
+            throws SQLException {
+
+    }
+
+    public void setAsciiStream(int parameterIndex, InputStream theInputStream)
+            throws SQLException {
+
+    }
+
+    public void setAsciiStream(String parameterName, InputStream theInputStream)
+            throws SQLException {
+
+    }
+
+    public void setAsciiStream(String parameterName,
+            InputStream theInputStream, int length) throws SQLException {
+
+    }
+
+    public void setBigDecimal(String parameterName, BigDecimal theBigDecimal)
+            throws SQLException {
+
+    }
+
+    public void setBinaryStream(int parameterIndex, InputStream theInputStream)
+            throws SQLException {
+
+    }
+
+    public void setBinaryStream(String parameterName, InputStream theInputStream)
+            throws SQLException {
+
+    }
+
+    public void setBinaryStream(String parameterName,
+            InputStream theInputStream, int length) throws SQLException {
+
+    }
+
+    public void setBlob(int parameterIndex, InputStream theInputStream)
+            throws SQLException {
+
+    }
+
+    public void setBlob(int parameterIndex, InputStream theInputStream,
+            long length) throws SQLException {
+
+    }
+
+    public void setBlob(String parameterName, InputStream theInputStream)
+            throws SQLException {
+
+    }
+
+    public void setBlob(String parameterName, InputStream theInputStream,
+            long length) throws SQLException {
+
+    }
+
+    public void setBlob(String parameterName, Blob theBlob) throws SQLException {
+
+    }
+
+    public void setBoolean(String parameterName, boolean theBoolean)
+            throws SQLException {
+
+    }
+
+    public void setByte(String parameterName, byte theByte) throws SQLException {
+
+    }
+
+    public void setBytes(String parametername, byte[] theByteArray)
+            throws SQLException {
+
+    }
+
+    public void setCharacterStream(int parameterIndex, Reader theReader)
+            throws SQLException {
+
+    }
+
+    public void setCharacterStream(String parameterName, Reader theReader)
+            throws SQLException {
+
+    }
+
+    public void setCharacterStream(String parameterName, Reader theReader,
+            int length) throws SQLException {
+
+    }
+
+    public void setClob(int parameterIndex, Reader theReader)
+            throws SQLException {
+
+    }
+
+    public void setClob(int parameterIndex, Reader theReader, long length)
+            throws SQLException {
+
+    }
+
+    public void setClob(String parameterName, Reader theReader)
+            throws SQLException {
+
+    }
+
+    public void setClob(String parameterName, Reader theReader, long length)
+            throws SQLException {
+
+    }
+
+    public void setDate(String parameterName, Date theDate) throws SQLException {
+
+    }
+
+    public void setDate(String parameterName, Date theDate, Calendar theCalendar)
+            throws SQLException {
+
+    }
+
+    public void setDouble(String parameterName, double theDouble)
+            throws SQLException {
+
+    }
+
+    public void setFloat(String parameterName, float theFloat)
+            throws SQLException {
+
+    }
+
+    public void setInt(String parameterName, int theInteger)
+            throws SQLException {
+
+    }
+
+    public void setLong(String parameterName, long theLong) throws SQLException {
+
+    }
+
+    public void setNCharacterStream(int parameterIndex, Reader theReader)
+            throws SQLException {
+
+    }
+
+    public void setNCharacterStream(int parameterIndex, Reader theReader,
+            long length) throws SQLException {
+
+    }
+
+    public void setNCharacterStream(String parameterName, Reader theReader)
+            throws SQLException {
+
+    }
+
+    public void setNCharacterStream(String parameterName, Reader theReader,
+            long length) throws SQLException {
+
+    }
+
+    public void setNClob(int parameterIndex, NClob theNClob)
+            throws SQLException {
+
+    }
+
+    public void setNClob(int parameterIndex, Reader theReader)
+            throws SQLException {
+
+    }
+
+    public void setNClob(int parameterIndex, Reader theReader, long length)
+            throws SQLException {
+
+    }
+
+    public void setNClob(String parameterName, Reader theReader)
+            throws SQLException {
+
+    }
+
+    public void setNClob(String parameterName, Reader theReader, long length)
+            throws SQLException {
+
+    }
+
+    public void setNString(int parameterIndex, String theNString)
+            throws SQLException {
+
+    }
+
+    public void setNString(String parameterName, String theNString)
+            throws SQLException {
+
+    }
+
+    public void setNull(String parameterName, int sqlType) throws SQLException {
+
+    }
+
+    public void setNull(String parameterName, int sqlType, String typeName)
+            throws SQLException {
+
+    }
+
+    public void setObject(String parameterName, Object theObject)
+            throws SQLException {
+
+    }
+
+    public void setObject(String parameterName, Object theObject,
+            int targetSqlType) throws SQLException {
+
+    }
+
+    public void setObject(String parameterName, Object theObject,
+            int targetSqlType, int scale) throws SQLException {
+
+    }
+
+    public void setRowId(int parameterIndex, RowId theRowId)
+            throws SQLException {
+
+    }
+
+    public void setRowId(String parameterName, RowId theRowId)
+            throws SQLException {
+
+    }
+
+    public void setSQLXML(int parameterIndex, SQLXML theSQLXML)
+            throws SQLException {
+
+    }
+
+    public void setSQLXML(String parameterName, SQLXML theSQLXML)
+            throws SQLException {
+
+    }
+
+    public void setShort(String parameterName, short theShort)
+            throws SQLException {
+
+    }
+
+    public void setString(String parameterName, String theString)
+            throws SQLException {
+
+    }
+
+    public void setTime(String parameterName, Time theTime) throws SQLException {
+
+    }
+
+    public void setTime(String parameterName, Time theTime, Calendar theCalendar)
+            throws SQLException {
+
+    }
+
+    public void setTimestamp(String parameterName, Timestamp theTimestamp)
+            throws SQLException {
+
+    }
+
+    public void setTimestamp(String parameterName, Timestamp theTimestamp,
+            Calendar theCalendar) throws SQLException {
+
+    }
+
+    public void setURL(int parameterIndex, URL theURL) throws SQLException {
+
+    }
+
+    public void setClob(String parameterName, Clob x) throws SQLException {
+
+    }
+
+    public void setNClob(String parameterName, NClob value) throws SQLException {
+
+    }
 }

Modified: harmony/enhanced/classlib/branches/java6/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/StatementEventTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/branches/java6/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/StatementEventTest.java?view=diff&rev=556835&r1=556834&r2=556835
==============================================================================
--- harmony/enhanced/classlib/branches/java6/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/StatementEventTest.java
(original)
+++ harmony/enhanced/classlib/branches/java6/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/StatementEventTest.java
Tue Jul 17 00:43:20 2007
@@ -18,77 +18,77 @@
  */
 public class StatementEventTest extends TestCase {
 
-	private static PooledConnection pc = new Impl_PooledConnection();
+    private static PooledConnection pc = new Impl_PooledConnection();
 
-	private static StatementEvent st = new StatementEvent(pc, null);
+    private static StatementEvent st = new StatementEvent(pc, null);
 
-	/**
-	 * @tests {@link javax.sql.StatementEvent#StatementEvent(PooledConnection, java.sql.PreparedStatement)}
-	 */
-	public void testStatementEventPooledConnectionPreparedStatementSQLException() {
-		SQLException e = new SQLException();
-		StatementEvent st2 = new StatementEvent(pc, null, e);
-		assertNotNull(st2);
-
-		assertEquals(e, st2.getSQLException());
-	}
-
-	/**
-	 * @tests {@link javax.sql.StatementEvent#StatementEvent(PooledConnection, java.sql.PreparedStatement)}
-	 */
-	public void testStatementEventPooledConnectionPreparedStatement() {
-		assertNotNull(st);
-
-		try {
-			new StatementEvent(null, null);
-			fail("should throw IllegalArgumentException");
-		} catch (IllegalArgumentException e) {
-			// expected
-		}
-	}
-
-	/**
-	 * @tests {@link javax.sql.StatementEvent#getStatement()}
-	 */
-	public void testGetStatement() {
-		assertNull(st.getStatement());
-	}
-
-	/**
-	 * @tests {@link javax.sql.StatementEvent#getSQLException()}
-	 */
-	public void testGetSQLException() {
-		assertNull(st.getSQLException());
-	}
-
-	/**
-	 * @tests serialization/deserialization compatibility.
-	 */
-	public void testSerializationSelf() throws Exception {
-		SerializationTest.verifySelf(st, STATEMENTEVENT_COMPARATOR);
-	}
-
-	/**
-	 * @tests serialization/deserialization compatibility with RI.
-	 */
-	public void testSerializationCompatibility() throws Exception {
-		StatementEvent st3 = new StatementEvent(pc, null, new SQLException(
-				"test message"));
-		SerializationTest.verifyGolden(this, st3, STATEMENTEVENT_COMPARATOR);
-	}
-
-	private static final SerializableAssert STATEMENTEVENT_COMPARATOR = new SerializableAssert()
{
-
-		public void assertDeserialized(Serializable initial,
-				Serializable deserialized) {
-			StatementEvent iniSt = (StatementEvent) initial;
-			StatementEvent dserSt = (StatementEvent) deserialized;
-			if (null != iniSt.getSQLException()) {
-				assertEquals(iniSt.getSQLException().getMessage(), dserSt
-						.getSQLException().getMessage());
-			}
-			assertEquals(iniSt.getStatement(), dserSt.getStatement());
-		}
+    /**
+     * @tests {@link javax.sql.StatementEvent#StatementEvent(PooledConnection, java.sql.PreparedStatement)}
+     */
+    public void testStatementEventPooledConnectionPreparedStatementSQLException() {
+        SQLException e = new SQLException();
+        StatementEvent st2 = new StatementEvent(pc, null, e);
+        assertNotNull(st2);
+
+        assertEquals(e, st2.getSQLException());
+    }
+
+    /**
+     * @tests {@link javax.sql.StatementEvent#StatementEvent(PooledConnection, java.sql.PreparedStatement)}
+     */
+    public void testStatementEventPooledConnectionPreparedStatement() {
+        assertNotNull(st);
+
+        try {
+            new StatementEvent(null, null);
+            fail("should throw IllegalArgumentException");
+        } catch (IllegalArgumentException e) {
+            // expected
+        }
+    }
+
+    /**
+     * @tests {@link javax.sql.StatementEvent#getStatement()}
+     */
+    public void testGetStatement() {
+        assertNull(st.getStatement());
+    }
+
+    /**
+     * @tests {@link javax.sql.StatementEvent#getSQLException()}
+     */
+    public void testGetSQLException() {
+        assertNull(st.getSQLException());
+    }
+
+    /**
+     * @tests serialization/deserialization compatibility.
+     */
+    public void testSerializationSelf() throws Exception {
+        SerializationTest.verifySelf(st, STATEMENTEVENT_COMPARATOR);
+    }
+
+    /**
+     * @tests serialization/deserialization compatibility with RI.
+     */
+    public void testSerializationCompatibility() throws Exception {
+        StatementEvent st3 = new StatementEvent(pc, null, new SQLException(
+                "test message"));
+        SerializationTest.verifyGolden(this, st3, STATEMENTEVENT_COMPARATOR);
+    }
+
+    private static final SerializableAssert STATEMENTEVENT_COMPARATOR = new SerializableAssert()
{
+
+        public void assertDeserialized(Serializable initial,
+                Serializable deserialized) {
+            StatementEvent iniSt = (StatementEvent) initial;
+            StatementEvent dserSt = (StatementEvent) deserialized;
+            if (null != iniSt.getSQLException()) {
+                assertEquals(iniSt.getSQLException().getMessage(), dserSt
+                        .getSQLException().getMessage());
+            }
+            assertEquals(iniSt.getStatement(), dserSt.getStatement());
+        }
 
-	};
+    };
 }

Modified: harmony/enhanced/classlib/branches/java6/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/rowset/serial/SerialArrayTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/branches/java6/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/rowset/serial/SerialArrayTest.java?view=diff&rev=556835&r1=556834&r2=556835
==============================================================================
--- harmony/enhanced/classlib/branches/java6/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/rowset/serial/SerialArrayTest.java
(original)
+++ harmony/enhanced/classlib/branches/java6/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/rowset/serial/SerialArrayTest.java
Tue Jul 17 00:43:20 2007
@@ -237,7 +237,7 @@
             // expected
         }
     }
-    
+
     public void test_free() throws Exception {
         try {
             sa.free();
@@ -329,7 +329,7 @@
         }
 
         public void free() throws SQLException {
-            
+
         }
     }
 
@@ -381,7 +381,7 @@
         }
 
         public void free() throws SQLException {
-            
+
         }
 
     }
@@ -479,7 +479,7 @@
                 Map<String, Class<?>> map) {
             return null;
         }
-        
+
         public void free() throws SQLException {
 
         }

Modified: harmony/enhanced/classlib/branches/java6/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/rowset/serial/SerialBlobTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/branches/java6/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/rowset/serial/SerialBlobTest.java?view=diff&rev=556835&r1=556834&r2=556835
==============================================================================
--- harmony/enhanced/classlib/branches/java6/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/rowset/serial/SerialBlobTest.java
(original)
+++ harmony/enhanced/classlib/branches/java6/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/rowset/serial/SerialBlobTest.java
Tue Jul 17 00:43:20 2007
@@ -350,7 +350,7 @@
             // expected
         }
     }
-    
+
     public void test_free() throws Exception {
         MockSerialBlob mockBlob = new MockSerialBlob();
         mockBlob.binaryStream = new ByteArrayOutputStream();
@@ -362,25 +362,24 @@
             // expected
         }
     }
-    
+
     public void testGetBinaryStreamJJ() throws Exception {
         byte[] buf = { 1, 2, 3, 4, 5, 6, 7, 8 };
         SerialBlob serialBlob = new SerialBlob(buf);
-        try{
-            serialBlob.getBinaryStream(0,4);
+        try {
+            serialBlob.getBinaryStream(0, 4);
             fail("Should throw SQLException");
-        }catch(SQLException e){
+        } catch (SQLException e) {
             // expected
         }
-        try{
-            serialBlob.getBinaryStream(3,8);
+        try {
+            serialBlob.getBinaryStream(3, 8);
             fail("Should throw SQLException");
-        }catch(SQLException e){
+        } catch (SQLException e) {
             // expected
         }
-        
-        
-        InputStream is = serialBlob.getBinaryStream(2,4);
+
+        InputStream is = serialBlob.getBinaryStream(2, 4);
         int i = 0;
         while (true) {
             int b = is.read();
@@ -394,7 +393,7 @@
             if (i > 4) {
                 fail("returned input stream contains too much data");
             }
-            assertEquals(buf[2+i++], b);
+            assertEquals(buf[2 + i++], b);
         }
     }
 
@@ -578,10 +577,11 @@
         }
 
         public void free() throws SQLException {
-            
+
         }
 
-        public InputStream getBinaryStream(long pos, long length) throws SQLException {
+        public InputStream getBinaryStream(long pos, long length)
+                throws SQLException {
             return null;
         }
 



Mime
View raw message