[seam-commits] Seam SVN: r11980 - branches/community/Seam_2_2/src/test/unit/org/jboss/seam/test/unit.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Jan 21 16:18:34 EST 2010


Author: smendenh at redhat.com
Date: 2010-01-21 16:18:34 -0500 (Thu, 21 Jan 2010)
New Revision: 11980

Modified:
   branches/community/Seam_2_2/src/test/unit/org/jboss/seam/test/unit/QueryTest.java
Log:
Resolved https://jira.jboss.org/jira/browse/JBSEAM-4087 per SUBJECT_PATTERN provided in JIRA, passes all tests in QueryTest

Modified: branches/community/Seam_2_2/src/test/unit/org/jboss/seam/test/unit/QueryTest.java
===================================================================
--- branches/community/Seam_2_2/src/test/unit/org/jboss/seam/test/unit/QueryTest.java	2010-01-21 21:17:58 UTC (rev 11979)
+++ branches/community/Seam_2_2/src/test/unit/org/jboss/seam/test/unit/QueryTest.java	2010-01-21 21:18:34 UTC (rev 11980)
@@ -41,7 +41,11 @@
       query.parseEjbql();
       // TODO this should eventually become count(v.person)
       assertEquals(query.getCountEjbql(), "select count(*) from Vehicle v left join v.person");
-
+      
+      query.setEjbql("select v.person, v.color from Vehicle v");
+      query.parseEjbql();
+      assertEquals(query.getCountEjbql(), "select count(*) from Vehicle v");
+      
       query = new CompliantUnitQuery();
       query.setEjbql("select p from Person p");
       query.parseEjbql();



More information about the seam-commits mailing list