Author: epbernard
Date: 2007-05-27 22:41:57 -0400 (Sun, 27 May 2007)
New Revision: 11578
Modified:
trunk/HibernateExt/search/src/test/org/hibernate/search/test/bridge/UnresolvedBridgeTest.java
Log:
minor
Modified:
trunk/HibernateExt/search/src/test/org/hibernate/search/test/bridge/UnresolvedBridgeTest.java
===================================================================
---
trunk/HibernateExt/search/src/test/org/hibernate/search/test/bridge/UnresolvedBridgeTest.java 2007-05-28
02:38:03 UTC (rev 11577)
+++
trunk/HibernateExt/search/src/test/org/hibernate/search/test/bridge/UnresolvedBridgeTest.java 2007-05-28
02:41:57 UTC (rev 11578)
@@ -5,6 +5,7 @@
import org.hibernate.search.test.SearchTestCase;
import org.hibernate.search.SearchException;
+import org.hibernate.search.store.RAMDirectoryProvider;
import org.hibernate.Session;
import org.hibernate.dialect.Dialect;
import org.hibernate.cfg.AnnotationConfiguration;
@@ -23,6 +24,7 @@
for (int i = 0; i < getMappings().length; i++) {
cfg.addAnnotatedClass( getMappings()[i] );
}
+ cfg.setProperty( "hibernate.search.default.directory_provider",
RAMDirectoryProvider.class.getName() );
try {
cfg.buildSessionFactory( /*new TestInterceptor()*/ );
fail("Undefined bridge went through");
Show replies by date