|
From: <hib...@li...> - 2006-07-26 13:25:55
|
Author: epbernard
Date: 2006-07-26 09:00:00 -0400 (Wed, 26 Jul 2006)
New Revision: 10158
Modified:
trunk/Hibernate3/test/org/hibernate/test/hql/HqlParserTest.java
Log:
HHH-1947 test
Modified: trunk/Hibernate3/test/org/hibernate/test/hql/HqlParserTest.java
===================================================================
--- trunk/Hibernate3/test/org/hibernate/test/hql/HqlParserTest.java 2006-07-26 12:18:38 UTC (rev 10157)
+++ trunk/Hibernate3/test/org/hibernate/test/hql/HqlParserTest.java 2006-07-26 13:00:00 UTC (rev 10158)
@@ -2,6 +2,9 @@
package org.hibernate.test.hql;
+import java.io.ByteArrayOutputStream;
+import java.io.PrintStream;
+
import antlr.RecognitionException;
import antlr.TokenStreamException;
import antlr.collections.AST;
@@ -13,9 +16,6 @@
import org.hibernate.hql.ast.util.ASTIterator;
import org.hibernate.hql.ast.util.ASTPrinter;
-import java.io.ByteArrayOutputStream;
-import java.io.PrintStream;
-
/**
* Tests the HQL parser on various inputs, just makes sure that the first phase of the parser
* works properly (i.e. no unexpected syntax errors).
@@ -929,6 +929,7 @@
public void testEjbqlExtensions() throws Exception {
parse( "select object(a) from Animal a where a.mother member of a.offspring" );
+ parse( "select object(a) from Animal a where a.mother member a.offspring" ); //no member of
parse( "select object(a) from Animal a where a.offspring is empty" );
}
|