[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/config ...
Manik Surtani
msurtani at jboss.com
Fri Feb 9 12:07:45 EST 2007
User: msurtani
Date: 07/02/09 12:07:45
Modified: tests/functional/org/jboss/cache/config
ConfigurationTest.java
Log:
Fixed tests to look for TM lookup classes in the appropriate pkg
Revision Changes Path
1.11 +2 -2 JBossCache/tests/functional/org/jboss/cache/config/ConfigurationTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ConfigurationTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/config/ConfigurationTest.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- ConfigurationTest.java 7 Feb 2007 22:06:57 -0000 1.10
+++ ConfigurationTest.java 9 Feb 2007 17:07:45 -0000 1.11
@@ -8,11 +8,11 @@
import junit.framework.TestCase;
-
import org.jboss.cache.config.Configuration.CacheMode;
import org.jboss.cache.factories.UnitTestCacheFactory;
import org.jboss.cache.factories.XmlConfigurationParser;
import org.jboss.cache.lock.IsolationLevel;
+import org.jboss.cache.transaction.GenericTransactionManagerLookup;
/**
* @author <a href="mailto:manik at jboss.org">Manik Surtani (manik at jboss.org)</a>
@@ -25,7 +25,7 @@
//now test that everything has been read in properly.
assertEquals(Configuration.CacheMode.REPL_SYNC, conf.getCacheMode());
- assertEquals("org.jboss.cache.transaction.DummyTransactionManagerLookup", conf.getTransactionManagerLookupClass());
+ assertEquals(GenericTransactionManagerLookup.class.getName(), conf.getTransactionManagerLookupClass());
assertEquals(IsolationLevel.REPEATABLE_READ, conf.getIsolationLevel());
assertEquals(false, conf.isUseReplQueue());
assertEquals(0, conf.getReplQueueInterval());
More information about the jboss-cvs-commits
mailing list