[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/jmx ...

Brian Stansberry brian.stansberry at jboss.com
Fri May 11 12:48:09 EDT 2007


  User: bstansberry
  Date: 07/05/11 12:48:09

  Modified:    tests/functional/org/jboss/cache/jmx 
                        CacheJmxWrapperTest.java
  Log:
  [JBCACHE-1055] Remove Configuration's serviceName property
  
  Revision  Changes    Path
  1.2       +0 -13     JBossCache/tests/functional/org/jboss/cache/jmx/CacheJmxWrapperTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CacheJmxWrapperTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/jmx/CacheJmxWrapperTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- CacheJmxWrapperTest.java	9 May 2007 18:34:12 -0000	1.1
  +++ CacheJmxWrapperTest.java	11 May 2007 16:48:09 -0000	1.2
  @@ -75,19 +75,6 @@
         assertEquals("Returns standard name", mBeanName, new ObjectName(wrapper.getCacheObjectName()));
      }
      
  -   public void testSetObjectNameViaConfiguration() throws Exception
  -   {
  -      ObjectName on = new ObjectName("jboss.cache:test=SetCacheObjectName");
  -      Configuration cfg = createConfiguration();
  -      cfg.setServiceName(on.getCanonicalName());
  -      CacheJmxWrapper wrapper = createWrapper(cfg);
  -      mBeanServer.registerMBean(wrapper, null);
  -      
  -      assertEquals("Wrapper shows correct ObjectName", on, new ObjectName(wrapper.getCacheObjectName()));
  -      
  -      assertTrue("Wrapper registered under correct ObjectName", mBeanServer.isRegistered(on));
  -   }
  -
      public void testGetConfiguration1() throws Exception
      {
         CacheJmxWrapperMBean wrapper = registerWrapper();
  
  
  



More information about the jboss-cvs-commits mailing list