User: user57  
  Date: 02/01/02 20:00:55

  Modified:    jboss.net/testsuite/src/main/org/jboss/test/net/jmx
                        JmxUnitTestCase.java
  Log:
   o migrated all components to a new JMX domain name model.  jboss.system
     is now where to core/spine components live.  moved all components that
     were in JBOSS-SYSTEM that did not move into a jboss.* domain into
     jboss (where the server is now registered).  The point was to limit the
     members of jboss.system to core bits only.
   o Created org.jboss.system.Server, which does the work of initialization
     that org.jboss.Main used to do.  Main now only parses the command line,
     sets up basic legecy properties and creates a Server instance.
   o Moved functionality of Shutdown (component not cl tool) into Server (
     which is bound as jboss.system:service=Server)
   o Moved more Runtime access from Info into Server.  Exposed memory info
     as attributes.
   o Logging a WARN everywhere that uses System.getProperty("jboss.system.home")
     as that should go away soon/eventually.
   o Initialized the invokerMap in the harmi impl to avoid NPE
   o Made getopt.jar a member of the lib/* dir instead of adding it to the
     run.jar and shutdown.jars each time.
   o Minor cosmetic changes along the way.
  
  Revision  Changes    Path
  1.3       +8 -8      
contrib/jboss.net/testsuite/src/main/org/jboss/test/net/jmx/JmxUnitTestCase.java
  
  Index: JmxUnitTestCase.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/contrib/jboss.net/testsuite/src/main/org/jboss/test/net/jmx/JmxUnitTestCase.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- JmxUnitTestCase.java      2001/10/16 15:53:03     1.2
  +++ JmxUnitTestCase.java      2002/01/03 04:00:55     1.3
  @@ -5,7 +5,7 @@
    * See terms of license at gnu.org.
    */
   
  -// $Id: JmxUnitTestCase.java,v 1.2 2001/10/16 15:53:03 cgjung Exp $
  +// $Id: JmxUnitTestCase.java,v 1.3 2002/01/03 04:00:55 user57 Exp $
   
   package org.jboss.test.net.jmx;
   
  @@ -27,7 +27,7 @@
    * Tests remote accessibility of JMX services
    * @created 11. Oktober 2001
    * @author <a href="mailto:[EMAIL PROTECTED]";>Christoph G. Jung</a>
  - * @version $Revision: 1.2 $
  + * @version $Revision: 1.3 $
    */
   
   public class JmxUnitTestCase extends AxisTestCase {
  @@ -43,10 +43,10 @@
           AxisInvocationHandler handler=createAxisInvocationHandler(new 
URL(END_POINT));
           assertEquals("Testing basic invocation",
               handler.invoke("RemoteAdaptor","getDefaultDomain",new Object[0]),
  -                "JBOSS-SYSTEM");
  +                "jboss");
           assertEquals("Testing complex invocation",
           handler.invoke("RemoteAdaptor","isRegistered",new Object[] {new String[] 
{"javax.management.ObjectName"}, 
  -            new ObjectName("JBOSS-SYSTEM:service=Axis")}),
  +            new ObjectName("jboss:service=Axis")}),
                   Boolean.TRUE);
      }
      
  @@ -56,10 +56,10 @@
               createMBeanInvocationHandler(new URL(END_POINT));
           assertEquals("Testing mbean specific invocation",
               handler.invoke("RemoteAdaptor","getDefaultDomain",
  -                new Object[0],new Class[0]),"JBOSS-SYSTEM");
  +                new Object[0],new Class[0]),"jboss");
           assertEquals("Testing custom serializer",handler.
               invoke("RemoteAdaptor","isRegistered",
  -                new Object[] {new ObjectName("JBOSS-SYSTEM:service=Axis")},
  +                new Object[] {new ObjectName("jboss:service=Axis")},
                       new Class[] {ObjectName.class}),Boolean.TRUE);
      }
      
  @@ -67,9 +67,9 @@
      public void testAdaptor() throws Exception {
           RemoteAdaptor handler=createRemoteAdaptor(new URL(END_POINT));
           assertEquals("Testing handler",
  -            handler.getDefaultDomain(),"JBOSS-SYSTEM");
  +            handler.getDefaultDomain(),"jboss");
           assertTrue("Testing handler with custom serializer",handler.
  -            isRegistered(new ObjectName("JBOSS-SYSTEM:service=Axis")));
  +            isRegistered(new ObjectName("jboss:service=Axis")));
      }
         
      public static Test suite() throws Exception
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to