[hibernate-commits] Hibernate SVN: r15385 - search/trunk/src/test/org/hibernate/search/test/query.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Fri Oct 24 10:00:30 EDT 2008


Author: epbernard
Date: 2008-10-24 10:00:30 -0400 (Fri, 24 Oct 2008)
New Revision: 15385

Modified:
   search/trunk/src/test/org/hibernate/search/test/query/QueryUnindexedEntityTest.java
Log:
HSEARCH-162 make test fail

Modified: search/trunk/src/test/org/hibernate/search/test/query/QueryUnindexedEntityTest.java
===================================================================
--- search/trunk/src/test/org/hibernate/search/test/query/QueryUnindexedEntityTest.java	2008-10-24 10:25:33 UTC (rev 15384)
+++ search/trunk/src/test/org/hibernate/search/test/query/QueryUnindexedEntityTest.java	2008-10-24 14:00:30 UTC (rev 15385)
@@ -19,7 +19,7 @@
  */
 public class QueryUnindexedEntityTest extends SearchTestCase {
 
-	public void testResultTransformToDelimString() throws Exception {
+	public void testQueryOnAllEntities() throws Exception {
 
 		FullTextSession s = Search.getFullTextSession( openSession() );
 
@@ -32,7 +32,7 @@
 		tx = s.beginTransaction();
 		QueryParser parser = new QueryParser( "name", new StandardAnalyzer() );
 		Query query = parser.parse( "name:foo" );
-		FullTextQuery hibQuery = s.createFullTextQuery( query, Person.class );
+		FullTextQuery hibQuery = s.createFullTextQuery( query );
 		try {
 			hibQuery.list();
 			fail();




More information about the hibernate-commits mailing list