X-Git-Url: http://jaekl.net/gitweb/?p=squelch.git;a=blobdiff_plain;f=src%2Ftest%2Fjava%2Fnet%2Fjaekl%2Fsquelch%2Fdb%2FResultSetMetaDataMock.java;fp=src%2Ftest%2Fjava%2Fnet%2Fjaekl%2Fsquelch%2Fdb%2FResultSetMetaDataMock.java;h=0000000000000000000000000000000000000000;hp=f1969ecd29ab5e63d26d0d42a2a828dff235048e;hb=dad47827334a0732966cc197dfe1e3ac303fb694;hpb=63163502c2d86fad43c38ae4041c8bf4b2e4b387 diff --git a/src/test/java/net/jaekl/squelch/db/ResultSetMetaDataMock.java b/src/test/java/net/jaekl/squelch/db/ResultSetMetaDataMock.java deleted file mode 100644 index f1969ec..0000000 --- a/src/test/java/net/jaekl/squelch/db/ResultSetMetaDataMock.java +++ /dev/null @@ -1,153 +0,0 @@ -package net.jaekl.squelch.db; - -import java.sql.ResultSetMetaData; -import java.sql.SQLException; - -import net.jaekl.squelch.sql.Column; - -public class ResultSetMetaDataMock implements ResultSetMetaData { - private Column[] m_cols; - - public ResultSetMetaDataMock() - { - m_cols = new Column[0]; - } - - @Override - public boolean isWrapperFor(Class arg0) throws SQLException { - throw new UnsupportedOperationException("Not yet implemented."); - - } - - @Override - public T unwrap(Class arg0) throws SQLException { - throw new UnsupportedOperationException("Not yet implemented."); - - } - - @Override - public String getCatalogName(int arg0) throws SQLException { - throw new UnsupportedOperationException("Not yet implemented."); - - } - - @Override - public String getColumnClassName(int arg0) throws SQLException { - throw new UnsupportedOperationException("Not yet implemented."); - - } - - @Override - public int getColumnCount() throws SQLException { - return m_cols.length; - } - - @Override - public int getColumnDisplaySize(int arg0) throws SQLException { - throw new UnsupportedOperationException("Not yet implemented."); - - } - - @Override - public String getColumnLabel(int arg0) throws SQLException { - throw new UnsupportedOperationException("Not yet implemented."); - - } - - @Override - public String getColumnName(int arg0) throws SQLException { - throw new UnsupportedOperationException("Not yet implemented."); - - } - - @Override - public int getColumnType(int arg0) throws SQLException { - throw new UnsupportedOperationException("Not yet implemented."); - - } - - @Override - public String getColumnTypeName(int arg0) throws SQLException { - throw new UnsupportedOperationException("Not yet implemented."); - - } - - @Override - public int getPrecision(int arg0) throws SQLException { - throw new UnsupportedOperationException("Not yet implemented."); - - } - - @Override - public int getScale(int arg0) throws SQLException { - throw new UnsupportedOperationException("Not yet implemented."); - - } - - @Override - public String getSchemaName(int arg0) throws SQLException { - throw new UnsupportedOperationException("Not yet implemented."); - - } - - @Override - public String getTableName(int arg0) throws SQLException { - throw new UnsupportedOperationException("Not yet implemented."); - - } - - @Override - public boolean isAutoIncrement(int arg0) throws SQLException { - throw new UnsupportedOperationException("Not yet implemented."); - - } - - @Override - public boolean isCaseSensitive(int arg0) throws SQLException { - throw new UnsupportedOperationException("Not yet implemented."); - - } - - @Override - public boolean isCurrency(int arg0) throws SQLException { - throw new UnsupportedOperationException("Not yet implemented."); - - } - - @Override - public boolean isDefinitelyWritable(int arg0) throws SQLException { - throw new UnsupportedOperationException("Not yet implemented."); - - } - - @Override - public int isNullable(int arg0) throws SQLException { - throw new UnsupportedOperationException("Not yet implemented."); - - } - - @Override - public boolean isReadOnly(int arg0) throws SQLException { - throw new UnsupportedOperationException("Not yet implemented."); - - } - - @Override - public boolean isSearchable(int arg0) throws SQLException { - throw new UnsupportedOperationException("Not yet implemented."); - - } - - @Override - public boolean isSigned(int arg0) throws SQLException { - throw new UnsupportedOperationException("Not yet implemented."); - - } - - @Override - public boolean isWritable(int arg0) throws SQLException { - throw new UnsupportedOperationException("Not yet implemented."); - - } - -}