geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject cvs commit: incubator-geronimo/modules/common/src/test/org/apache/geronimo/common/jmx MBeanProxyFactoryTest.java
Date Mon, 01 Sep 2003 15:15:03 GMT
jdillon     2003/09/01 08:15:03

  Modified:    modules/common/src/test/org/apache/geronimo/common/jmx
                        MBeanProxyFactoryTest.java
  Log:
   o another test for same named op with different param type
  
  Revision  Changes    Path
  1.4       +11 -1     incubator-geronimo/modules/common/src/test/org/apache/geronimo/common/jmx/MBeanProxyFactoryTest.java
  
  Index: MBeanProxyFactoryTest.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/common/src/test/org/apache/geronimo/common/jmx/MBeanProxyFactoryTest.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- MBeanProxyFactoryTest.java	1 Sep 2003 15:12:36 -0000	1.3
  +++ MBeanProxyFactoryTest.java	1 Sep 2003 15:15:03 -0000	1.4
  @@ -148,6 +148,9 @@
           
           value = bean.someOperation("foo");
           assertEquals(targetObject.someOperation("foo"), value);
  +        
  +        value = bean.someOperation(true);
  +        assertEquals(targetObject.someOperation(true), value);
       }
       
       public void testMBeanProxyContext() throws Exception
  @@ -183,6 +186,8 @@
           String someOperation();
           
           String someOperation(Object arg);
  +        
  +        String someOperation(boolean arg);
       }
       
       public static class MockObject
  @@ -229,6 +234,11 @@
           public String someOperation(Object arg)
           {
               return "someop" + arg;
  +        }
  +        
  +        public String someOperation(boolean arg)
  +        {
  +            return "somebooleanop" + arg;
           }
       }
   }
  
  
  

Mime
View raw message