Author: doogie
Date: Mon Aug 2 17:43:25 2010
New Revision: 981631
URL:
http://svn.apache.org/viewvc?rev=981631&view=revLog:
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;