User: ejort Date: 02/03/15 12:26:42 Modified: src/main/test/compliance/server MBeanServerTEST.java Log: More tests, completed basic unit tests RelationService and Query Revision Changes Path 1.9 +5 -1 jmx/src/main/test/compliance/server/MBeanServerTEST.java Index: MBeanServerTEST.java =================================================================== RCS file: /cvsroot/jboss/jmx/src/main/test/compliance/server/MBeanServerTEST.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- MBeanServerTEST.java 13 Mar 2002 21:49:55 -0000 1.8 +++ MBeanServerTEST.java 15 Mar 2002 20:26:42 -0000 1.9 @@ -52,7 +52,7 @@ * Tests the MBean server impl. through the <tt>MBeanServer</tt> interface. * * @author <a href="mailto:[EMAIL PROTECTED]">Juha Lindfors</a>. - * @version $Revision: 1.8 $ + * @version $Revision: 1.9 $ * */ public class MBeanServerTEST @@ -1001,6 +1001,10 @@ // expected assertTrue(!server.isRegistered(name)); assertTrue(e.getTargetException() instanceof java.lang.RuntimeException); + } + catch (RuntimeMBeanException e) + { + fail("FAILS IN RI: RuntimeMBeanException instead of MBeanRegistrationException?"); } }
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development