mx4j/src/test/test/javax/management MBeanRegistrationTest.java,1.12,1.13

Jeremy Boynes <[email protected]> Sun, 13 Feb 2005 19:46:01 +0000
Newsgroups gmane.comp.java.mx4j.cvs
Message-ID <[email protected]>
Update of /cvsroot/mx4j/mx4j/src/test/test/javax/management
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18825/src/test/test/javax/management

Modified Files:
	MBeanRegistrationTest.java 
Log Message:
Fix for [ 1121912 ] Exception from preRegister prevents registration
Fix for [ 1121915 ] Exception in preDeregister should terminate immediately
Updated postDeregister testcase for correct Exception

Index: MBeanRegistrationTest.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/test/test/javax/management/MBeanRegistrationTest.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** MBeanRegistrationTest.java	9 Feb 2005 00:37:09 -0000	1.12
--- MBeanRegistrationTest.java	13 Feb 2005 19:45:59 -0000	1.13
***************
*** 168,172 ****
           fail("MBean must throw an exception");
        }
!       catch (MBeanRegistrationException ignored)
        {
        }
--- 168,172 ----
           fail("MBean must throw an exception");
        }
!       catch (RuntimeMBeanException ignored)
        {
        }



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click