[teiid-commits] teiid SVN: r1739 - trunk/test-integration/db/src/main/java/org/teiid/test/client.

teiid-commits at lists.jboss.org teiid-commits at lists.jboss.org
Wed Jan 13 11:13:39 EST 2010


Author: vhalbert at redhat.com
Date: 2010-01-13 11:13:38 -0500 (Wed, 13 Jan 2010)
New Revision: 1739

Modified:
   trunk/test-integration/db/src/main/java/org/teiid/test/client/TestClientTransaction.java
Log:
Teiid 781 - changes and refactoring so the ctc testing can support both the old way (comparing against xml files) and the new way (generating and comparing non-xml files)

Modified: trunk/test-integration/db/src/main/java/org/teiid/test/client/TestClientTransaction.java
===================================================================
--- trunk/test-integration/db/src/main/java/org/teiid/test/client/TestClientTransaction.java	2010-01-13 15:32:30 UTC (rev 1738)
+++ trunk/test-integration/db/src/main/java/org/teiid/test/client/TestClientTransaction.java	2010-01-13 16:13:38 UTC (rev 1739)
@@ -153,10 +153,14 @@
 
 	
 	if (resultException != null) {
+	    if (this.exceptionExpected()) {
+		testStatus = TestResult.RESULT_STATE.TEST_EXPECTED_EXCEPTION;
+	    } else {
 		testStatus = TestResult.RESULT_STATE.TEST_EXCEPTION;
-		
-	} 
+	    }
 
+}
+
 	rs = new TestResultStat(querySetID, this.queryIdentifier, sql,
 		testStatus, beginTS, endTS, resultException, null);
 	



More information about the teiid-commits mailing list