This is the mail archive of the mauve-patches@sourceware.org mailing list for the Mauve project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FYI: Testcase fix


This patch fixes the TargetedNotification test
to not use a null object; this causes an exception
from java.util.EventSource.

ChangeLog:

2008-02-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>

	* gnu/testlet/javax/management/remote/TargetedNotificationTest.java:
	Avoid using null for the event object.

-- 
Andrew :)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net
Index: gnu/testlet/javax/management/remote/TargetedNotificationTest.java
===================================================================
RCS file: /cvs/mauve/mauve/gnu/testlet/javax/management/remote/TargetedNotificationTest.java,v
retrieving revision 1.1
diff -u -3 -p -u -r1.1 TargetedNotificationTest.java
--- gnu/testlet/javax/management/remote/TargetedNotificationTest.java	10 Feb 2008 23:33:38 -0000	1.1
+++ gnu/testlet/javax/management/remote/TargetedNotificationTest.java	19 Feb 2008 22:54:53 -0000
@@ -34,7 +34,7 @@ public class TargetedNotificationTest
   public void test(TestHarness h)
   {
     TargetedNotification tn;
-    Notification n = new Notification("", null, 1);
+    Notification n = new Notification("", this, 1);
     h.checkPoint("Constructor tests");
     try
       {

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]