完善mock和测试

git-svn-id: http://code.alibabatech.com/svn/druid/trunk@777 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
wenshao
2011-09-15 23:02:12 +00:00
parent ee37205bb3
commit ea7811fc6c
2 changed files with 256 additions and 26 deletions
@@ -741,80 +741,67 @@ public class MockResultSet implements ResultSet {
@Override
public Object getObject(String columnLabel, Map<String, Class<?>> map) throws SQLException {
return null;
return getObject(columnLabel);
}
@Override
public Ref getRef(String columnLabel) throws SQLException {
return null;
return (Ref) getObject(columnLabel);
}
@Override
public Blob getBlob(String columnLabel) throws SQLException {
return null;
return (Blob) getObject(columnLabel);
}
@Override
public Clob getClob(String columnLabel) throws SQLException {
return null;
return (Clob) getObject(columnLabel);
}
@Override
public Array getArray(String columnLabel) throws SQLException {
return null;
return (Array) getObject(columnLabel);
}
@Override
public Date getDate(int columnIndex, Calendar cal) throws SQLException {
return null;
return (Date) getObject(columnIndex);
}
@Override
public Date getDate(String columnLabel, Calendar cal) throws SQLException {
return null;
return (Date) getObject(columnLabel);
}
@Override
public Time getTime(int columnIndex, Calendar cal) throws SQLException {
return null;
return (Time) getObject(columnIndex);
}
@Override
public Time getTime(String columnLabel, Calendar cal) throws SQLException {
return null;
return (Time) getObject(columnLabel);
}
@Override
public Timestamp getTimestamp(int columnIndex, Calendar cal) throws SQLException {
return null;
return (Timestamp) getObject(columnIndex);
}
@Override
public Timestamp getTimestamp(String columnLabel, Calendar cal) throws SQLException {
return null;
return (Timestamp) getObject(columnLabel);
}
@Override
public URL getURL(int columnIndex) throws SQLException {
return null;
return (URL) getObject(columnIndex);
}
@Override
public URL getURL(String columnLabel) throws SQLException {
return null;
return (URL) getObject(columnLabel);
}
@Override