[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/aop/eviction ...
Manik Surtani
msurtani at jboss.com
Thu Jul 20 06:59:13 EDT 2006
User: msurtani
Date: 06/07/20 06:59:13
Modified: tests/functional/org/jboss/cache/aop/eviction
AopLRUPolicyTest.java
Log:
Fixed some broken UTs to use the new xml parsers, cache factories, etc.
Revision Changes Path
1.5 +2 -2 JBossCache/tests/functional/org/jboss/cache/aop/eviction/AopLRUPolicyTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: AopLRUPolicyTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/aop/eviction/AopLRUPolicyTest.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- AopLRUPolicyTest.java 5 May 2006 12:06:57 -0000 1.4
+++ AopLRUPolicyTest.java 20 Jul 2006 10:59:13 -0000 1.5
@@ -12,7 +12,7 @@
/**
* @author Ben Wang, Feb 11, 2004
- * @version $Revision: 1.4 $
+ * @version $Revision: 1.5 $
*/
public class AopLRUPolicyTest extends TestCase
{
@@ -41,7 +41,7 @@
cache_ = new PojoCache();
PropertyConfigurator config = new PropertyConfigurator();
config.configure(cache_, "META-INF/pojocache-service.xml"); // read in generic local xml
- cache_.setTransactionManagerLookupClass("org.jboss.cache.DummyTransactionManagerLookup");
+ cache_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.DummyTransactionManagerLookup");
cache_.startService();
}
More information about the jboss-cvs-commits
mailing list