svn commit: r981631 - /ofbiz/trunk/framework/sql/src/org/ofbiz/sql/test/SQLTest.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r981631 - /ofbiz/trunk/framework/sql/src/org/ofbiz/sql/test/SQLTest.java

doogie-3
Author: doogie
Date: Mon Aug  2 17:43:25 2010
New Revision: 981631

URL: http://svn.apache.org/viewvc?rev=981631&view=rev
Log:
TESTS: Ensure that no more statements has been parsed.

Modified:
    ofbiz/trunk/framework/sql/src/org/ofbiz/sql/test/SQLTest.java

Modified: ofbiz/trunk/framework/sql/src/org/ofbiz/sql/test/SQLTest.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/sql/src/org/ofbiz/sql/test/SQLTest.java?rev=981631&r1=981630&r2=981631&view=diff
==============================================================================
--- ofbiz/trunk/framework/sql/src/org/ofbiz/sql/test/SQLTest.java (original)
+++ ofbiz/trunk/framework/sql/src/org/ofbiz/sql/test/SQLTest.java Mon Aug  2 17:43:25 2010
@@ -266,6 +266,7 @@ public class SQLTest extends GenericTest
             assertEquals("firstView", view, stmt);
             assertEquals("firstView:parse", parser(view).ViewStatement(), parser(stmt).ViewStatement());
         }
+        assertFalse("has no more statements", stmtIt.hasNext());
     }
 /*
 CREATE VIEW viewOne AS SELECT a.* FROM Party a;