mx4j/src/test/test/javax/management MBeanServerPermissionTest.java,1.6,1.7

Simone Bordet <[email protected]> Sat, 09 Oct 2004 13:51:42 +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-serv3883/src/test/test/javax/management

Modified Files:
	MBeanServerPermissionTest.java 
Log Message:
Modifications to MBeanServerPermission to make it spec compliant broke the test

Index: MBeanServerPermissionTest.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/test/test/javax/management/MBeanServerPermissionTest.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** MBeanServerPermissionTest.java	4 Sep 2004 15:44:42 -0000	1.6
--- MBeanServerPermissionTest.java	9 Oct 2004 13:51:39 -0000	1.7
***************
*** 33,37 ****
           fail("Invalid MBeanServerPermission");
        }
!       catch (IllegalArgumentException ignored)
        {
        }
--- 33,37 ----
           fail("Invalid MBeanServerPermission");
        }
!       catch (NullPointerException ignored)
        {
        }



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl