Author: epbernard
Date: 2007-09-14 15:32:16 -0400 (Fri, 14 Sep 2007)
New Revision: 14010
Modified:
search/trunk/src/test/org/hibernate/search/test/query/ProjectionQueryTest.java
Log:
more test
Modified: search/trunk/src/test/org/hibernate/search/test/query/ProjectionQueryTest.java
===================================================================
---
search/trunk/src/test/org/hibernate/search/test/query/ProjectionQueryTest.java 2007-09-13
03:48:51 UTC (rev 14009)
+++
search/trunk/src/test/org/hibernate/search/test/query/ProjectionQueryTest.java 2007-09-14
19:32:16 UTC (rev 14010)
@@ -172,6 +172,7 @@
assertEquals( "id incorrect", 1001, projection[0] );
assertEquals( "last name incorrect", "Jackson", projection[1] );
assertEquals( "dept incorrect", "Accounting", projection[2] );
+ assertEquals( "THIS incorrect", "Jackson", ( (Employee)
projection[3] ).getLastname() );
assertEquals( "THIS incorrect", projection[3], s.get(Employee.class,
(Serializable) projection[0]) );
assertEquals( "SCORE incorrect", 1.0F, projection[4] );
assertEquals( "BOOST incorrect", 1.0F, projection[5] );
Show replies by date