Author: vhalbert(a)redhat.com
Date: 2010-02-09 11:29:06 -0500 (Tue, 09 Feb 2010)
New Revision: 1806
Added:
trunk/test-integration/db/src/main/resources/ctc_tests/queries/rdbms/client_test_txnoff_expected_results/TestInvalidQueries/
trunk/test-integration/db/src/main/resources/ctc_tests/queries/rdbms/test_queries/TestInvalidQueries.xml
Modified:
trunk/test-integration/db/src/main/resources/ctc_tests/queries/rdbms/test_queries/TestPhysicalQueries.xml
Log:
Teiid-773 - Added TestResultSetUtil so that when writing out a generated file for an
exception, changed so that the line terminator was not being appended to the file. This
was causing, in comparison mode, the expected exceptions to fail
Added:
trunk/test-integration/db/src/main/resources/ctc_tests/queries/rdbms/test_queries/TestInvalidQueries.xml
===================================================================
---
trunk/test-integration/db/src/main/resources/ctc_tests/queries/rdbms/test_queries/TestInvalidQueries.xml
(rev 0)
+++
trunk/test-integration/db/src/main/resources/ctc_tests/queries/rdbms/test_queries/TestInvalidQueries.xml 2010-02-09
16:29:06 UTC (rev 1806)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<root>
+
+<!-- * =====================================================================*
-->
+<!-- * These tests are expected to fail * -->
+<!-- * =====================================================================* -->
+
+<!-- Missing FROM Clause -->
+<query name="TestQuery1">select * pm1.g1 order by e1</query>
+
+</root>
+
Property changes on:
trunk/test-integration/db/src/main/resources/ctc_tests/queries/rdbms/test_queries/TestInvalidQueries.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified:
trunk/test-integration/db/src/main/resources/ctc_tests/queries/rdbms/test_queries/TestPhysicalQueries.xml
===================================================================
---
trunk/test-integration/db/src/main/resources/ctc_tests/queries/rdbms/test_queries/TestPhysicalQueries.xml 2010-02-09
16:27:21 UTC (rev 1805)
+++
trunk/test-integration/db/src/main/resources/ctc_tests/queries/rdbms/test_queries/TestPhysicalQueries.xml 2010-02-09
16:29:06 UTC (rev 1806)
@@ -5,7 +5,7 @@
<!-- * Testing simple transactions * -->
<!-- * =====================================================================* -->
-<query name="TestQuery1">select * from pm1.g1 where e1 >= 0 order by
e1
+<query name="TestQuery1">select * from pm1.g1 order by e1
</query>
<query name="TestQuery2">select * from pm1.g2 where e1 >= 0 order by
e1</query>
Show replies by date