Author: vhalbert(a)redhat.com
Date: 2009-11-18 15:11:21 -0500 (Wed, 18 Nov 2009)
New Revision: 1572
Modified:
trunk/client-jdbc/src/test/java/com/metamatrix/jdbc/api/AbstractQueryTest.java
Log:
Teiid 773 - added ability to override to indicate to perform comparison in either case
sensitive or non-sensitive
Modified: trunk/client-jdbc/src/test/java/com/metamatrix/jdbc/api/AbstractQueryTest.java
===================================================================
---
trunk/client-jdbc/src/test/java/com/metamatrix/jdbc/api/AbstractQueryTest.java 2009-11-18
15:26:22 UTC (rev 1571)
+++
trunk/client-jdbc/src/test/java/com/metamatrix/jdbc/api/AbstractQueryTest.java 2009-11-18
20:11:21 UTC (rev 1572)
@@ -388,9 +388,13 @@
}
protected void compareResults(BufferedReader resultReader, BufferedReader
expectedReader) throws IOException {
- assertEquals(read(expectedReader, true) , read(resultReader, true));
+ assertEquals(read(expectedReader, compareCaseSensitive()) , read(resultReader,
compareCaseSensitive()));
}
+ protected boolean compareCaseSensitive() {
+ return true;
+ }
+
public void printResults() {
printResults(this.internalResultSet);
}
Show replies by date