Author: steve.ebersole(a)jboss.com
Date: 2010-06-30 11:56:26 -0400 (Wed, 30 Jun 2010)
New Revision: 19876
Added:
core/branches/gradle2/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/JndiInfinispanRegionFactoryTestCase.java
Log:
helps to do a clean build sometimes to ferret out problems :)
Added:
core/branches/gradle2/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/JndiInfinispanRegionFactoryTestCase.java
===================================================================
---
core/branches/gradle2/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/JndiInfinispanRegionFactoryTestCase.java
(rev 0)
+++
core/branches/gradle2/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/JndiInfinispanRegionFactoryTestCase.java 2010-06-30
15:56:26 UTC (rev 19876)
@@ -0,0 +1,21 @@
+package org.hibernate.test.cache.infinispan;
+
+import junit.framework.TestCase;
+import org.hibernate.cfg.SettingsFactory;
+
+import java.util.Properties;
+
+/**
+ * // TODO: Document this
+ *
+ * @author Galder Zamarreño
+ * @since // TODO
+ */
+public class JndiInfinispanRegionFactoryTestCase extends TestCase {
+
+ public void testConstruction() {
+ Properties p = new Properties();
+ p.setProperty("hibernate.cache.region.factory_class",
"org.hibernate.cache.infinispan.JndiInfinispanRegionFactory");
+ SettingsFactory.createRegionFactory(p, true);
+ }
+}
Show replies by date