public inbox for mauve-patches@sourceware.org
 help / color / mirror / Atom feed
* FYI: Testcase fix
@ 2008-02-19 23:04 Andrew John Hughes
  0 siblings, 0 replies; only message in thread
From: Andrew John Hughes @ 2008-02-19 23:04 UTC (permalink / raw)
  To: mauve-patches


[-- Attachment #1.1: Type: text/plain, Size: 469 bytes --]

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

[-- Attachment #1.2: management-07b.diff --]
[-- Type: text/x-diff, Size: 801 bytes --]

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 #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-19 23:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-19 23:04 FYI: Testcase fix Andrew John Hughes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).