[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/pojo/jmx ...
Brian Stansberry
brian.stansberry at jboss.com
Wed May 23 23:56:34 EDT 2007
User: bstansberry
Date: 07/05/23 23:56:34
Modified: tests/functional/org/jboss/cache/pojo/jmx
LegacyConfigurationTest.java
Log:
Support old versions of renamed attributes
Dependency inject MultiplexerService rather than doing JMX lookup
Revision Changes Path
1.2 +3 -3 JBossCache/tests/functional/org/jboss/cache/pojo/jmx/LegacyConfigurationTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: LegacyConfigurationTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/pojo/jmx/LegacyConfigurationTest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- LegacyConfigurationTest.java 23 May 2007 20:24:16 -0000 1.1
+++ LegacyConfigurationTest.java 24 May 2007 03:56:34 -0000 1.2
@@ -60,7 +60,7 @@
* Test of the CacheLegacyJmxWrapper.
*
* @author <a href="brian.stansberry at jboss.com">Brian Stansberry</a>
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*/
public class LegacyConfigurationTest extends PojoCacheJmxWrapperTestBase
{
@@ -72,7 +72,7 @@
wrapper = (PojoCacheJmxWrapperMBean) MBeanServerInvocationHandler.newProxyInstance(mBeanServer, mBeanName, PojoCacheJmxWrapperMBean.class, false);
wrapper.setBuddyReplicationConfig(getBuddyReplicationConfig());
- wrapper.setCacheLoaderConfiguration(getCacheLoaderConfig());
+ wrapper.setCacheLoaderConfig(getCacheLoaderConfig());
wrapper.setCacheMode("REPL_SYNC");
wrapper.setClusterName("LocalTest");
wrapper.setClusterConfig(getClusterConfig());
@@ -148,7 +148,7 @@
Properties props = blc.getBuddyLocatorProperties();
assertEquals("BR props", "2", props.get("numBuddies"));
- assertEquals("CacheLoaderConfig", getCacheLoaderConfig().toString(), wrapper.getCacheLoaderConfiguration().toString());
+ assertEquals("CacheLoaderConfig", getCacheLoaderConfig().toString(), wrapper.getCacheLoaderConfig().toString());
CacheLoaderConfig clc = c.getCacheLoaderConfig();
assertEquals("CL passivation", false, clc.isPassivation());
assertEquals("CL passivation", true, clc.isShared());
More information about the jboss-cvs-commits
mailing list