mx4j/src/test/test/mx4j/remote RemoteNotificationClientHandlerTest.java,1.9,1.10
Simone Bordet <[email protected]> Sun, 21 Nov 2004 14:29:49 +0000
| Newsgroups | gmane.comp.java.mx4j.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/mx4j/mx4j/src/test/test/mx4j/remote
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26578/src/test/test/mx4j/remote
Modified Files:
RemoteNotificationClientHandlerTest.java
Log Message:
Fixed broken test.
Index: RemoteNotificationClientHandlerTest.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/test/test/mx4j/remote/RemoteNotificationClientHandlerTest.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** RemoteNotificationClientHandlerTest.java 13 Nov 2004 16:38:57 -0000 1.9
--- RemoteNotificationClientHandlerTest.java 21 Nov 2004 14:29:47 -0000 1.10
***************
*** 169,176 ****
Notification notification = new Notification("type", name, 0);
TargetedNotification targeted = new TargetedNotification(notification, new Integer(1));
- // Return nextSequence as next sequence number: next call must have this sequence number
- NotificationResult result1 = new NotificationResult(1, nextSequence, new TargetedNotification[]{targeted});
if (sequenceNumber < 0)
{
holder.set(result1);
return result1;
--- 169,176 ----
Notification notification = new Notification("type", name, 0);
TargetedNotification targeted = new TargetedNotification(notification, new Integer(1));
if (sequenceNumber < 0)
{
+ // Return nextSequence as next sequence number: next call must have this sequence number
+ NotificationResult result1 = new NotificationResult(0, nextSequence, new TargetedNotification[]{targeted});
holder.set(result1);
return result1;
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8