Refactor tabular output for eventual re-use printing table metadata.
[squelch.git] / src / test / java / net / jaekl / squelch / db / ResultSetMetaDataMock.java
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 (file)
index f1969ec..0000000
+++ /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> T unwrap(Class<T> 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.");
-               
-       }
-
-}