harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndbe...@apache.org
Subject svn commit: r471120 [2/2] - in /incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests: ./ java/sql/ javax/sql/
Date Sat, 04 Nov 2006 05:10:51 GMT
Modified: incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/Impl_RowSet.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/Impl_RowSet.java?view=diff&rev=471120&r1=471119&r2=471120
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/Impl_RowSet.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/Impl_RowSet.java
Fri Nov  3 21:10:50 2006
@@ -27,900 +27,712 @@
 import java.sql.Date;
 import java.sql.Ref;
 import java.sql.ResultSetMetaData;
+import java.sql.SQLException;
 import java.sql.SQLWarning;
 import java.sql.Statement;
 import java.sql.Time;
 import java.sql.Timestamp;
 import java.util.Calendar;
 import java.util.Map;
-
 import javax.sql.RowSet;
 import javax.sql.RowSetListener;
 
-public class Impl_RowSet implements RowSet {
-
-	public Impl_RowSet() {
-		super();
-	} // end constructor
-
-	public String getUrl() {
-
-		return null;
-	} // end method getUrl
-
-	public void setUrl(String parm1) {
-
-	} // end method setUrl
-
-	public String getDataSourceName() {
-
-		return null;
-	} // end method getDataSourceName
-
-	public void setDataSourceName(String parm1) {
-
-	} // end method setDataSourceName
-
-	public String getUsername() {
-
-		return null;
-	} // end method getUsername
-
-	public void setUsername(String parm1) {
-
-	} // end method setUsername
-
-	public String getPassword() {
-
-		return null;
-	} // end method getPassword
-
-	public void setPassword(String parm1) {
-
-	} // end method setPassword
-
-	public int getTransactionIsolation() {
-
-		return -1678466229;
-	} // end method getTransactionIsolation
-
-	public void setTransactionIsolation(int parm1) {
-
-	} // end method setTransactionIsolation
-
-	public Map getTypeMap() {
-
-		return null;
-	} // end method getTypeMap
-
-	public void setTypeMap(Map parm1) {
-
-	} // end method setTypeMap
-
-	public String getCommand() {
-
-		return null;
-	} // end method getCommand
-
-	public void setCommand(String parm1) {
-
-	} // end method setCommand
-
-	public boolean isReadOnly() {
-
-		return false;
-	} // end method isReadOnly
-
-	public void setReadOnly(boolean parm1) {
-
-	} // end method setReadOnly
-
-	public int getMaxFieldSize() {
-
-		return 1160759662;
-	} // end method getMaxFieldSize
-
-	public void setMaxFieldSize(int parm1) {
-
-	} // end method setMaxFieldSize
-
-	public int getMaxRows() {
-
-		return 1352057609;
-	} // end method getMaxRows
-
-	public void setMaxRows(int parm1) {
-
-	} // end method setMaxRows
-
-	public boolean getEscapeProcessing() {
-
-		return false;
-	} // end method getEscapeProcessing
-
-	public void setEscapeProcessing(boolean parm1) {
-
-	} // end method setEscapeProcessing
-
-	public int getQueryTimeout() {
-
-		return 1902594213;
-	} // end method getQueryTimeout
-
-	public void setQueryTimeout(int parm1) {
-
-	} // end method setQueryTimeout
-
-	public void setType(int parm1) {
-
-	} // end method setType
-
-	public void setConcurrency(int parm1) {
-
-	} // end method setConcurrency
-
-	public void setNull(int parm1, int parm2) {
-
-	} // end method setNull
-
-	public void setNull(int parm1, int parm2, String parm3) {
-
-	} // end method setNull
-
-	public void setBoolean(int parm1, boolean parm2) {
-
-	} // end method setBoolean
-
-	public void setByte(int parm1, byte parm2) {
-
-	} // end method setByte
-
-	public void setShort(int parm1, short parm2) {
-
-	} // end method setShort
-
-	public void setInt(int parm1, int parm2) {
-
-	} // end method setInt
-
-	public void setLong(int parm1, long parm2) {
-
-	} // end method setLong
-
-	public void setFloat(int parm1, float parm2) {
-
-	} // end method setFloat
-
-	public void setDouble(int parm1, double parm2) {
-
-	} // end method setDouble
-
-	public void setBigDecimal(int parm1, BigDecimal parm2) {
-
-	} // end method setBigDecimal
-
-	public void setString(int parm1, String parm2) {
-
-	} // end method setString
-
-	public void setBytes(int parm1, byte[] parm2) {
-
-	} // end method setBytes
-
-	public void setDate(int parm1, Date parm2) {
-
-	} // end method setDate
-
-	public void setTime(int parm1, Time parm2) {
-
-	} // end method setTime
-
-	public void setTimestamp(int parm1, Timestamp parm2) {
-
-	} // end method setTimestamp
-
-	public void setAsciiStream(int parm1, InputStream parm2, int parm3) {
-
-	} // end method setAsciiStream
-
-	public void setBinaryStream(int parm1, InputStream parm2, int parm3) {
-
-	} // end method setBinaryStream
-
-	public void setCharacterStream(int parm1, Reader parm2, int parm3) {
-
-	} // end method setCharacterStream
-
-	public void setObject(int parm1, Object parm2, int parm3, int parm4) {
-
-	} // end method setObject
-
-	public void setObject(int parm1, Object parm2, int parm3) {
-
-	} // end method setObject
-
-	public void setObject(int parm1, Object parm2) {
-
-	} // end method setObject
-
-	public void setRef(int parm1, Ref parm2) {
-
-	} // end method setRef
-
-	public void setBlob(int parm1, Blob parm2) {
-
-	} // end method setBlob
-
-	public void setClob(int parm1, Clob parm2) {
-
-	} // end method setClob
-
-	public void setArray(int parm1, Array parm2) {
-
-	} // end method setArray
-
-	public void setDate(int parm1, Date parm2, Calendar parm3) {
-
-	} // end method setDate
-
-	public void setTime(int parm1, Time parm2, Calendar parm3) {
-
-	} // end method setTime
-
-	public void setTimestamp(int parm1, Timestamp parm2, Calendar parm3) {
-
-	} // end method setTimestamp
-
-	public void clearParameters() {
-
-	} // end method clearParameters
-
-	public void execute() {
-
-	} // end method execute
-
-	public void addRowSetListener(RowSetListener parm1) {
-
-	} // end method addRowSetListener
-
-	public void removeRowSetListener(RowSetListener parm1) {
-
-	} // end method removeRowSetListener
-
-	public boolean next() {
-
-		return false;
-	} // end method next
-
-	public void close() {
-
-	} // end method close
-
-	public boolean wasNull() {
-
-		return false;
-	} // end method wasNull
-
-	public String getString(int parm1) {
-
-		return null;
-	} // end method getString
-
-	public boolean getBoolean(int parm1) {
-
-		return true;
-	} // end method getBoolean
-
-	public byte getByte(int parm1) {
-
-		return 20;
-	} // end method getByte
-
-	public short getShort(int parm1) {
-
-		return -14773;
-	} // end method getShort
-
-	public int getInt(int parm1) {
-
-		return 1336230020;
-	} // end method getInt
-
-	public long getLong(int parm1) {
-
-		return 2893649549072652188L;
-	} // end method getLong
-
-	public float getFloat(int parm1) {
-
-		return -3.022368858327717E38F;
-	} // end method getFloat
-
-	public double getDouble(int parm1) {
-
-		return -9.31296588344137E307;
-	} // end method getDouble
-
-	public BigDecimal getBigDecimal(int parm1, int parm2) {
-
-		return null;
-	} // end method getBigDecimal
-
-	public byte[] getBytes(int parm1) {
-
-		return null;
-	} // end method getBytes
-
-	public Date getDate(int parm1) {
-
-		return null;
-	} // end method getDate
-
-	public Time getTime(int parm1) {
-
-		return null;
-	} // end method getTime
-
-	public Timestamp getTimestamp(int parm1) {
-
-		return null;
-	} // end method getTimestamp
-
-	public InputStream getAsciiStream(int parm1) {
-
-		return null;
-	} // end method getAsciiStream
-
-	public InputStream getUnicodeStream(int parm1) {
-
-		return null;
-	} // end method getUnicodeStream
-
-	public InputStream getBinaryStream(int parm1) {
-
-		return null;
-	} // end method getBinaryStream
-
-	public String getString(String parm1) {
-
-		return null;
-	} // end method getString
-
-	public boolean getBoolean(String parm1) {
-
-		return true;
-	} // end method getBoolean
-
-	public byte getByte(String parm1) {
-
-		return 74;
-	} // end method getByte
-
-	public short getShort(String parm1) {
-
-		return -976;
-	} // end method getShort
-
-	public int getInt(String parm1) {
-
-		return -1946722832;
-	} // end method getInt
-
-	public long getLong(String parm1) {
-
-		return -5026748552689033827L;
-	} // end method getLong
-
-	public float getFloat(String parm1) {
-
-		return 2.9913193284709667E38F;
-	} // end method getFloat
-
-	public double getDouble(String parm1) {
-
-		return 9.101225161150468E307;
-	} // end method getDouble
-
-	public BigDecimal getBigDecimal(String parm1, int parm2) {
-
-		return null;
-	} // end method getBigDecimal
-
-	public byte[] getBytes(String parm1) {
-
-		return null;
-	} // end method getBytes
-
-	public Date getDate(String parm1) {
-
-		return null;
-	} // end method getDate
-
-	public Time getTime(String parm1) {
-
-		return null;
-	} // end method getTime
-
-	public Timestamp getTimestamp(String parm1) {
-
-		return null;
-	} // end method getTimestamp
-
-	public InputStream getAsciiStream(String parm1) {
-
-		return null;
-	} // end method getAsciiStream
-
-	public InputStream getUnicodeStream(String parm1) {
-
-		return null;
-	} // end method getUnicodeStream
-
-	public InputStream getBinaryStream(String parm1) {
-
-		return null;
-	} // end method getBinaryStream
-
-	public SQLWarning getWarnings() {
-
-		return null;
-	} // end method getWarnings
-
-	public void clearWarnings() {
-
-	} // end method clearWarnings
-
-	public String getCursorName() {
-
-		return null;
-	} // end method getCursorName
-
-	public ResultSetMetaData getMetaData() {
-
-		return null;
-	} // end method getMetaData
-
-	public Object getObject(int parm1) {
-
-		return null;
-	} // end method getObject
-
-	public Object getObject(String parm1) {
-
-		return null;
-	} // end method getObject
-
-	public int findColumn(String parm1) {
+@SuppressWarnings("deprecation")
+class Impl_RowSet implements RowSet {
+    public void addRowSetListener(RowSetListener theListener) {
+    }
 
-		return 567655775;
-	} // end method findColumn
+    public void clearParameters() throws SQLException {
+    }
 
-	public Reader getCharacterStream(int parm1) {
+    public void execute() throws SQLException {
+    }
 
-		return null;
-	} // end method getCharacterStream
+    public String getCommand() {
+        return null;
+    }
 
-	public Reader getCharacterStream(String parm1) {
+    public String getDataSourceName() {
+        return null;
+    }
 
-		return null;
-	} // end method getCharacterStream
+    public boolean getEscapeProcessing() throws SQLException {
+        return false;
+    }
 
-	public BigDecimal getBigDecimal(int parm1) {
+    public int getMaxFieldSize() throws SQLException {
+        return 0;
+    }
 
-		return null;
-	} // end method getBigDecimal
+    public int getMaxRows() throws SQLException {
+        return 0;
+    }
 
-	public BigDecimal getBigDecimal(String parm1) {
+    public String getPassword() {
+        return null;
+    }
 
-		return null;
-	} // end method getBigDecimal
+    public int getQueryTimeout() throws SQLException {
+        return 0;
+    }
 
-	public boolean isBeforeFirst() {
+    public int getTransactionIsolation() {
+        return 0;
+    }
 
-		return false;
-	} // end method isBeforeFirst
+    public Map<String, Class<?>> getTypeMap() throws SQLException {
+        return null;
+    }
 
-	public boolean isAfterLast() {
+    public String getUrl() throws SQLException {
+        return null;
+    }
 
-		return false;
-	} // end method isAfterLast
+    public String getUsername() {
+        return null;
+    }
 
-	public boolean isFirst() {
+    public boolean isReadOnly() {
+        return false;
+    }
 
-		return true;
-	} // end method isFirst
+    public void removeRowSetListener(RowSetListener theListener) {
+    }
 
-	public boolean isLast() {
+    public void setArray(int parameterIndex, Array theArray) throws SQLException {
+    }
 
-		return false;
-	} // end method isLast
+    public void setAsciiStream(int parameterIndex, InputStream theInputStream, int length)
+            throws SQLException {
+    }
 
-	public void beforeFirst() {
+    public void setBigDecimal(int parameterIndex, BigDecimal theBigDecimal) throws SQLException
{
+    }
 
-	} // end method beforeFirst
+    public void setBinaryStream(int parameterIndex, InputStream theInputStream, int length)
+            throws SQLException {
+    }
 
-	public void afterLast() {
+    public void setBlob(int parameterIndex, Blob theBlob) throws SQLException {
+    }
 
-	} // end method afterLast
+    public void setBoolean(int parameterIndex, boolean theBoolean) throws SQLException {
+    }
 
-	public boolean first() {
+    public void setByte(int parameterIndex, byte theByte) throws SQLException {
+    }
 
-		return true;
-	} // end method first
+    public void setBytes(int parameterIndex, byte[] theByteArray) throws SQLException {
+    }
 
-	public boolean last() {
+    public void setCharacterStream(int parameterIndex, Reader theReader, int length)
+            throws SQLException {
+    }
 
-		return false;
-	} // end method last
+    public void setClob(int parameterIndex, Clob theClob) throws SQLException {
+    }
 
-	public int getRow() {
+    public void setCommand(String cmd) throws SQLException {
+    }
 
-		return 1158714017;
-	} // end method getRow
+    public void setConcurrency(int concurrency) throws SQLException {
+    }
 
-	public boolean absolute(int parm1) {
+    public void setDataSourceName(String name) throws SQLException {
+    }
 
-		return false;
-	} // end method absolute
+    public void setDate(int parameterIndex, Date theDate, Calendar theCalendar)
+            throws SQLException {
+    }
 
-	public boolean relative(int parm1) {
+    public void setDate(int parameterIndex, Date theDate) throws SQLException {
+    }
 
-		return false;
-	} // end method relative
+    public void setDouble(int parameterIndex, double theDouble) throws SQLException {
+    }
 
-	public boolean previous() {
+    public void setEscapeProcessing(boolean enable) throws SQLException {
+    }
 
-		return false;
-	} // end method previous
+    public void setFloat(int parameterIndex, float theFloat) throws SQLException {
+    }
 
-	public void setFetchDirection(int parm1) {
+    public void setInt(int parameterIndex, int theInteger) throws SQLException {
+    }
 
-	} // end method setFetchDirection
+    public void setLong(int parameterIndex, long theLong) throws SQLException {
+    }
 
-	public int getFetchDirection() {
+    public void setMaxFieldSize(int max) throws SQLException {
+    }
 
-		return 1957979730;
-	} // end method getFetchDirection
+    public void setMaxRows(int max) throws SQLException {
+    }
 
-	public void setFetchSize(int parm1) {
+    public void setNull(int parameterIndex, int sqlType, String typeName) throws SQLException
{
+    }
 
-	} // end method setFetchSize
+    public void setNull(int parameterIndex, int sqlType) throws SQLException {
+    }
 
-	public int getFetchSize() {
+    public void setObject(int parameterIndex, Object theObject, int targetSqlType, int scale)
+            throws SQLException {
+    }
 
-		return -2014456736;
-	} // end method getFetchSize
+    public void setObject(int parameterIndex, Object theObject, int targetSqlType)
+            throws SQLException {
+    }
 
-	public int getType() {
+    public void setObject(int parameterIndex, Object theObject) throws SQLException {
+    }
 
-		return -1351227638;
-	} // end method getType
+    public void setPassword(String password) throws SQLException {
+    }
 
-	public int getConcurrency() {
+    public void setQueryTimeout(int seconds) throws SQLException {
+    }
 
-		return -1448914510;
-	} // end method getConcurrency
+    public void setReadOnly(boolean readOnly) throws SQLException {
+    }
 
-	public boolean rowUpdated() {
+    public void setRef(int parameterIndex, Ref theRef) throws SQLException {
+    }
 
-		return false;
-	} // end method rowUpdated
+    public void setShort(int parameterIndex, short theShort) throws SQLException {
+    }
 
-	public boolean rowInserted() {
+    public void setString(int parameterIndex, String theString) throws SQLException {
+    }
 
-		return true;
-	} // end method rowInserted
+    public void setTime(int parameterIndex, Time theTime, Calendar theCalendar)
+            throws SQLException {
+    }
 
-	public boolean rowDeleted() {
+    public void setTime(int parameterIndex, Time theTime) throws SQLException {
+    }
 
-		return true;
-	} // end method rowDeleted
+    public void setTimestamp(int parameterIndex, Timestamp theTimestamp, Calendar theCalendar)
+            throws SQLException {
+    }
 
-	public void updateNull(int parm1) {
+    public void setTimestamp(int parameterIndex, Timestamp theTimestamp) throws SQLException
{
+    }
 
-	} // end method updateNull
+    public void setTransactionIsolation(int level) throws SQLException {
+    }
 
-	public void updateBoolean(int parm1, boolean parm2) {
+    public void setType(int type) throws SQLException {
+    }
 
-	} // end method updateBoolean
+    public void setTypeMap(Map<String, Class<?>> theTypeMap) throws SQLException
{
+    }
 
-	public void updateByte(int parm1, byte parm2) {
+    public void setUrl(String theURL) throws SQLException {
+    }
 
-	} // end method updateByte
+    public void setUsername(String theUsername) throws SQLException {
+    }
 
-	public void updateShort(int parm1, short parm2) {
+    public boolean absolute(int row) throws SQLException {
+        return false;
+    }
 
-	} // end method updateShort
+    public void afterLast() throws SQLException {
+    }
 
-	public void updateInt(int parm1, int parm2) {
+    public void beforeFirst() throws SQLException {
+    }
 
-	} // end method updateInt
+    public void cancelRowUpdates() throws SQLException {
+    }
 
-	public void updateLong(int parm1, long parm2) {
+    public void clearWarnings() throws SQLException {
+    }
 
-	} // end method updateLong
+    public void close() throws SQLException {
+    }
 
-	public void updateFloat(int parm1, float parm2) {
+    public void deleteRow() throws SQLException {
+    }
 
-	} // end method updateFloat
+    public int findColumn(String columnName) throws SQLException {
+        return 0;
+    }
 
-	public void updateDouble(int parm1, double parm2) {
+    public boolean first() throws SQLException {
+        return false;
+    }
 
-	} // end method updateDouble
+    public Array getArray(int columnIndex) throws SQLException {
+        return null;
+    }
 
-	public void updateBigDecimal(int parm1, BigDecimal parm2) {
+    public Array getArray(String colName) throws SQLException {
+        return null;
+    }
 
-	} // end method updateBigDecimal
+    public InputStream getAsciiStream(int columnIndex) throws SQLException {
+        return null;
+    }
 
-	public void updateString(int parm1, String parm2) {
+    public InputStream getAsciiStream(String columnName) throws SQLException {
+        return null;
+    }
 
-	} // end method updateString
+    public BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException {
+        return null;
+    }
 
-	public void updateBytes(int parm1, byte[] parm2) {
+    public BigDecimal getBigDecimal(int columnIndex) throws SQLException {
+        return null;
+    }
 
-	} // end method updateBytes
+    public BigDecimal getBigDecimal(String columnName, int scale) throws SQLException {
+        return null;
+    }
 
-	public void updateDate(int parm1, Date parm2) {
+    public BigDecimal getBigDecimal(String columnName) throws SQLException {
+        return null;
+    }
 
-	} // end method updateDate
+    public InputStream getBinaryStream(int columnIndex) throws SQLException {
+        return null;
+    }
 
-	public void updateTime(int parm1, Time parm2) {
+    public InputStream getBinaryStream(String columnName) throws SQLException {
+        return null;
+    }
 
-	} // end method updateTime
+    public Blob getBlob(int columnIndex) throws SQLException {
+        return null;
+    }
 
-	public void updateTimestamp(int parm1, Timestamp parm2) {
+    public Blob getBlob(String columnName) throws SQLException {
+        return null;
+    }
 
-	} // end method updateTimestamp
+    public boolean getBoolean(int columnIndex) throws SQLException {
+        return false;
+    }
 
-	public void updateAsciiStream(int parm1, InputStream parm2, int parm3) {
+    public boolean getBoolean(String columnName) throws SQLException {
+        return false;
+    }
 
-	} // end method updateAsciiStream
+    public byte getByte(int columnIndex) throws SQLException {
+        return 0;
+    }
 
-	public void updateBinaryStream(int parm1, InputStream parm2, int parm3) {
+    public byte getByte(String columnName) throws SQLException {
+        return 0;
+    }
 
-	} // end method updateBinaryStream
+    public byte[] getBytes(int columnIndex) throws SQLException {
+        return null;
+    }
 
-	public void updateCharacterStream(int parm1, Reader parm2, int parm3) {
+    public byte[] getBytes(String columnName) throws SQLException {
+        return null;
+    }
 
-	} // end method updateCharacterStream
+    public Reader getCharacterStream(int columnIndex) throws SQLException {
+        return null;
+    }
 
-	public void updateObject(int parm1, Object parm2, int parm3) {
+    public Reader getCharacterStream(String columnName) throws SQLException {
+        return null;
+    }
 
-	} // end method updateObject
+    public Clob getClob(int columnIndex) throws SQLException {
+        return null;
+    }
 
-	public void updateObject(int parm1, Object parm2) {
+    public Clob getClob(String colName) throws SQLException {
+        return null;
+    }
 
-	} // end method updateObject
+    public int getConcurrency() throws SQLException {
+        return 0;
+    }
 
-	public void updateNull(String parm1) {
+    public String getCursorName() throws SQLException {
+        return null;
+    }
 
-	} // end method updateNull
+    public Date getDate(int columnIndex, Calendar cal) throws SQLException {
+        return null;
+    }
 
-	public void updateBoolean(String parm1, boolean parm2) {
+    public Date getDate(int columnIndex) throws SQLException {
+        return null;
+    }
 
-	} // end method updateBoolean
+    public Date getDate(String columnName, Calendar cal) throws SQLException {
+        return null;
+    }
 
-	public void updateByte(String parm1, byte parm2) {
+    public Date getDate(String columnName) throws SQLException {
+        return null;
+    }
 
-	} // end method updateByte
+    public double getDouble(int columnIndex) throws SQLException {
+        return 0;
+    }
 
-	public void updateShort(String parm1, short parm2) {
+    public double getDouble(String columnName) throws SQLException {
+        return 0;
+    }
 
-	} // end method updateShort
+    public int getFetchDirection() throws SQLException {
+        return 0;
+    }
 
-	public void updateInt(String parm1, int parm2) {
+    public int getFetchSize() throws SQLException {
+        return 0;
+    }
 
-	} // end method updateInt
+    public float getFloat(int columnIndex) throws SQLException {
+        return 0;
+    }
 
-	public void updateLong(String parm1, long parm2) {
+    public float getFloat(String columnName) throws SQLException {
+        return 0;
+    }
 
-	} // end method updateLong
+    public int getInt(int columnIndex) throws SQLException {
+        return 0;
+    }
 
-	public void updateFloat(String parm1, float parm2) {
+    public int getInt(String columnName) throws SQLException {
+        return 0;
+    }
 
-	} // end method updateFloat
+    public long getLong(int columnIndex) throws SQLException {
+        return 0;
+    }
 
-	public void updateDouble(String parm1, double parm2) {
+    public long getLong(String columnName) throws SQLException {
+        return 0;
+    }
 
-	} // end method updateDouble
+    public ResultSetMetaData getMetaData() throws SQLException {
+        return null;
+    }
 
-	public void updateBigDecimal(String parm1, BigDecimal parm2) {
+    public Object getObject(int columnIndex, Map<String, Class<?>> map) throws
SQLException {
+        return null;
+    }
 
-	} // end method updateBigDecimal
+    public Object getObject(int columnIndex) throws SQLException {
+        return null;
+    }
 
-	public void updateString(String parm1, String parm2) {
+    public Object getObject(String columnName, Map<String, Class<?>> map) throws
SQLException {
+        return null;
+    }
 
-	} // end method updateString
+    public Object getObject(String columnName) throws SQLException {
+        return null;
+    }
 
-	public void updateBytes(String parm1, byte[] parm2) {
+    public Ref getRef(int columnIndex) throws SQLException {
+        return null;
+    }
 
-	} // end method updateBytes
+    public Ref getRef(String colName) throws SQLException {
+        return null;
+    }
 
-	public void updateDate(String parm1, Date parm2) {
+    public int getRow() throws SQLException {
+        return 0;
+    }
 
-	} // end method updateDate
+    public short getShort(int columnIndex) throws SQLException {
+        return 0;
+    }
 
-	public void updateTime(String parm1, Time parm2) {
+    public short getShort(String columnName) throws SQLException {
+        return 0;
+    }
 
-	} // end method updateTime
+    public Statement getStatement() throws SQLException {
+        return null;
+    }
 
-	public void updateTimestamp(String parm1, Timestamp parm2) {
+    public String getString(int columnIndex) throws SQLException {
+        return null;
+    }
 
-	} // end method updateTimestamp
+    public String getString(String columnName) throws SQLException {
+        return null;
+    }
 
-	public void updateAsciiStream(String parm1, InputStream parm2, int parm3) {
+    public Time getTime(int columnIndex, Calendar cal) throws SQLException {
+        return null;
+    }
 
-	} // end method updateAsciiStream
+    public Time getTime(int columnIndex) throws SQLException {
+        return null;
+    }
 
-	public void updateBinaryStream(String parm1, InputStream parm2, int parm3) {
+    public Time getTime(String columnName, Calendar cal) throws SQLException {
+        return null;
+    }
 
-	} // end method updateBinaryStream
+    public Time getTime(String columnName) throws SQLException {
+        return null;
+    }
 
-	public void updateCharacterStream(String parm1, Reader parm2, int parm3) {
+    public Timestamp getTimestamp(int columnIndex, Calendar cal) throws SQLException {
+        return null;
+    }
 
-	} // end method updateCharacterStream
+    public Timestamp getTimestamp(int columnIndex) throws SQLException {
+        return null;
+    }
 
-	public void updateObject(String parm1, Object parm2, int parm3) {
+    public Timestamp getTimestamp(String columnName, Calendar cal) throws SQLException {
+        return null;
+    }
 
-	} // end method updateObject
+    public Timestamp getTimestamp(String columnName) throws SQLException {
+        return null;
+    }
 
-	public void updateObject(String parm1, Object parm2) {
+    public int getType() throws SQLException {
+        return 0;
+    }
 
-	} // end method updateObject
+    public InputStream getUnicodeStream(int columnIndex) throws SQLException {
+        return null;
+    }
 
-	public void insertRow() {
+    public InputStream getUnicodeStream(String columnName) throws SQLException {
+        return null;
+    }
 
-	} // end method insertRow
+    public URL getURL(int columnIndex) throws SQLException {
+        return null;
+    }
 
-	public void updateRow() {
+    public URL getURL(String columnName) throws SQLException {
+        return null;
+    }
 
-	} // end method updateRow
+    public SQLWarning getWarnings() throws SQLException {
+        return null;
+    }
 
-	public void deleteRow() {
+    public void insertRow() throws SQLException {
+    }
 
-	} // end method deleteRow
+    public boolean isAfterLast() throws SQLException {
+        return false;
+    }
 
-	public void refreshRow() {
+    public boolean isBeforeFirst() throws SQLException {
+        return false;
+    }
 
-	} // end method refreshRow
+    public boolean isFirst() throws SQLException {
+        return false;
+    }
 
-	public void cancelRowUpdates() {
+    public boolean isLast() throws SQLException {
+        return false;
+    }
 
-	} // end method cancelRowUpdates
+    public boolean last() throws SQLException {
+        return false;
+    }
 
-	public void moveToInsertRow() {
+    public void moveToCurrentRow() throws SQLException {
+    }
 
-	} // end method moveToInsertRow
+    public void moveToInsertRow() throws SQLException {
+    }
 
-	public void moveToCurrentRow() {
+    public boolean next() throws SQLException {
+        return false;
+    }
 
-	} // end method moveToCurrentRow
+    public boolean previous() throws SQLException {
+        return false;
+    }
 
-	public Statement getStatement() {
+    public void refreshRow() throws SQLException {
+    }
 
-		return null;
-	} // end method getStatement
+    public boolean relative(int rows) throws SQLException {
+        return false;
+    }
 
-	public Object getObject(int parm1, Map parm2) {
+    public boolean rowDeleted() throws SQLException {
+        return false;
+    }
 
-		return null;
-	} // end method getObject
+    public boolean rowInserted() throws SQLException {
+        return false;
+    }
 
-	public Ref getRef(int parm1) {
+    public boolean rowUpdated() throws SQLException {
+        return false;
+    }
 
-		return null;
-	} // end method getRef
+    public void setFetchDirection(int direction) throws SQLException {
+    }
 
-	public Blob getBlob(int parm1) {
+    public void setFetchSize(int rows) throws SQLException {
+    }
 
-		return null;
-	} // end method getBlob
+    public void updateArray(int columnIndex, Array x) throws SQLException {
+    }
 
-	public Clob getClob(int parm1) {
+    public void updateArray(String columnName, Array x) throws SQLException {
+    }
 
-		return null;
-	} // end method getClob
+    public void updateAsciiStream(int columnIndex, InputStream x, int length)
+            throws SQLException {
+    }
 
-	public Array getArray(int parm1) {
+    public void updateAsciiStream(String columnName, InputStream x, int length)
+            throws SQLException {
+    }
 
-		return null;
-	} // end method getArray
+    public void updateBigDecimal(int columnIndex, BigDecimal x) throws SQLException {
+    }
 
-	public Object getObject(String parm1, Map parm2) {
+    public void updateBigDecimal(String columnName, BigDecimal x) throws SQLException {
+    }
 
-		return null;
-	} // end method getObject
+    public void updateBinaryStream(int columnIndex, InputStream x, int length)
+            throws SQLException {
+    }
 
-	public Ref getRef(String parm1) {
+    public void updateBinaryStream(String columnName, InputStream x, int length)
+            throws SQLException {
+    }
 
-		return null;
-	} // end method getRef
+    public void updateBlob(int columnIndex, Blob x) throws SQLException {
+    }
 
-	public Blob getBlob(String parm1) {
+    public void updateBlob(String columnName, Blob x) throws SQLException {
+    }
 
-		return null;
-	} // end method getBlob
+    public void updateBoolean(int columnIndex, boolean x) throws SQLException {
+    }
 
-	public Clob getClob(String parm1) {
+    public void updateBoolean(String columnName, boolean x) throws SQLException {
+    }
 
-		return null;
-	} // end method getClob
+    public void updateByte(int columnIndex, byte x) throws SQLException {
+    }
 
-	public Array getArray(String parm1) {
+    public void updateByte(String columnName, byte x) throws SQLException {
+    }
 
-		return null;
-	} // end method getArray
+    public void updateBytes(int columnIndex, byte[] x) throws SQLException {
+    }
 
-	public Date getDate(int parm1, Calendar parm2) {
+    public void updateBytes(String columnName, byte[] x) throws SQLException {
+    }
 
-		return null;
-	} // end method getDate
+    public void updateCharacterStream(int columnIndex, Reader x, int length)
+            throws SQLException {
+    }
 
-	public Date getDate(String parm1, Calendar parm2) {
+    public void updateCharacterStream(String columnName, Reader reader, int length)
+            throws SQLException {
+    }
 
-		return null;
-	} // end method getDate
+    public void updateClob(int columnIndex, Clob x) throws SQLException {
+    }
 
-	public Time getTime(int parm1, Calendar parm2) {
+    public void updateClob(String columnName, Clob x) throws SQLException {
+    }
 
-		return null;
-	} // end method getTime
+    public void updateDate(int columnIndex, Date x) throws SQLException {
+    }
 
-	public Time getTime(String parm1, Calendar parm2) {
+    public void updateDate(String columnName, Date x) throws SQLException {
+    }
 
-		return null;
-	} // end method getTime
+    public void updateDouble(int columnIndex, double x) throws SQLException {
+    }
 
-	public Timestamp getTimestamp(int parm1, Calendar parm2) {
+    public void updateDouble(String columnName, double x) throws SQLException {
+    }
 
-		return null;
-	} // end method getTimestamp
+    public void updateFloat(int columnIndex, float x) throws SQLException {
+    }
 
-	public Timestamp getTimestamp(String parm1, Calendar parm2) {
+    public void updateFloat(String columnName, float x) throws SQLException {
+    }
 
-		return null;
-	} // end method getTimestamp
+    public void updateInt(int columnIndex, int x) throws SQLException {
+    }
 
-	public URL getURL(int parm1) {
+    public void updateInt(String columnName, int x) throws SQLException {
+    }
 
-		return null;
-	} // end method getURL
+    public void updateLong(int columnIndex, long x) throws SQLException {
+    }
 
-	public URL getURL(String parm1) {
+    public void updateLong(String columnName, long x) throws SQLException {
+    }
 
-		return null;
-	} // end method getURL
+    public void updateNull(int columnIndex) throws SQLException {
+    }
 
-	public void updateRef(int parm1, Ref parm2) {
+    public void updateNull(String columnName) throws SQLException {
+    }
 
-	} // end method updateRef
+    public void updateObject(int columnIndex, Object x, int scale) throws SQLException {
+    }
 
-	public void updateRef(String parm1, Ref parm2) {
+    public void updateObject(int columnIndex, Object x) throws SQLException {
+    }
 
-	} // end method updateRef
+    public void updateObject(String columnName, Object x, int scale) throws SQLException
{
+    }
 
-	public void updateBlob(int parm1, Blob parm2) {
+    public void updateObject(String columnName, Object x) throws SQLException {
+    }
 
-	} // end method updateBlob
+    public void updateRef(int columnIndex, Ref x) throws SQLException {
+    }
 
-	public void updateBlob(String parm1, Blob parm2) {
+    public void updateRef(String columnName, Ref x) throws SQLException {
+    }
 
-	} // end method updateBlob
+    public void updateRow() throws SQLException {
+    }
 
-	public void updateClob(int parm1, Clob parm2) {
+    public void updateShort(int columnIndex, short x) throws SQLException {
+    }
 
-	} // end method updateClob
+    public void updateShort(String columnName, short x) throws SQLException {
+    }
 
-	public void updateClob(String parm1, Clob parm2) {
+    public void updateString(int columnIndex, String x) throws SQLException {
+    }
 
-	} // end method updateClob
+    public void updateString(String columnName, String x) throws SQLException {
+    }
 
-	public void updateArray(int parm1, Array parm2) {
+    public void updateTime(int columnIndex, Time x) throws SQLException {
+    }
 
-	} // end method updateArray
+    public void updateTime(String columnName, Time x) throws SQLException {
+    }
 
-	public void updateArray(String parm1, Array parm2) {
+    public void updateTimestamp(int columnIndex, Timestamp x) throws SQLException {
+    }
 
-	} // end method updateArray
+    public void updateTimestamp(String columnName, Timestamp x) throws SQLException {
+    }
 
-} // end class RowSetTest
+    public boolean wasNull() throws SQLException {
+        return false;
+    }
+}

Modified: incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/RowSetEventTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/RowSetEventTest.java?view=diff&rev=471120&r1=471119&r2=471120
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/RowSetEventTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/RowSetEventTest.java
Fri Nov  3 21:10:50 2006
@@ -17,53 +17,20 @@
 
 package org.apache.harmony.sql.tests.javax.sql;
 
-import javax.sql.RowSet;
 import javax.sql.RowSetEvent;
-
 import junit.framework.TestCase;
 
-/**
- * JUnit Testcase for the javax.sql.RowSetEvent class
- * 
- */
-
 public class RowSetEventTest extends TestCase {
 
-	/*
-	 * ConstructorTest
-	 */
-	public void testRowSetEventRowSet() {
-
-		RowSet[] init1 = { new Impl_RowSet(), null };
-
-		RowSet[] theFinalStates = init1;
-
-		Exception[] theExceptions = { null,
-				new IllegalArgumentException("null source") };
-
-		RowSetEvent aRowSetEvent;
-		int loopCount = init1.length;
-		for (int i = 0; i < loopCount; i++) {
-			try {
-				aRowSetEvent = new RowSetEvent(init1[i]);
-				if (theExceptions[i] != null) {
-                    fail(i + "Exception missed");
-                }
-				assertEquals(i + "Final state mismatch", aRowSetEvent
-						.getSource(), theFinalStates[i]);
-
-			} catch (Exception e) {
-				if (theExceptions[i] == null) {
-                    fail(i + "Unexpected exception");
-                }
-				assertEquals(i + "Exception mismatch", e.getClass(),
-						theExceptions[i].getClass());
-				// assertEquals( i + "Exception mismatch", e.getMessage(),
-				// theExceptions[i].getMessage() );
-			} // end try
-		} // end for
-
-	} // end method testRowSetEventRowSet
-
-} // end class RowSetEventTest
-
+    public void testConstructor() {
+        try {
+            new RowSetEvent(null);
+            fail("illegal argument exception expected");
+        } catch (IllegalArgumentException e) {
+        }
+        
+        Impl_RowSet irs = new Impl_RowSet();
+        RowSetEvent rse = new RowSetEvent(irs);
+        assertSame(irs, rse.getSource());
+    }
+}



Mime
View raw message