CVS update: JGroups/tests/junit-functional/org/jgroups/tests SizeTest.java

"Bela Ban" <[email protected]> Wed, 27 Oct 2010 09:25:03 +0000
Newsgroups gmane.comp.java.javagroups.cvs
Message-ID <[email protected]>
  User: belaban 
  Date: 10/10/27 09:25:03

  Modified:    tests/junit-functional/org/jgroups/tests SizeTest.java
  Log:
  ns
  
  Revision  Changes    Path
  1.35      +5 -3      JGroups/tests/junit-functional/org/jgroups/tests/SizeTest.java
  
  Index: SizeTest.java
  ===================================================================
  RCS file: /cvsroot/javagroups/JGroups/tests/junit-functional/org/jgroups/tests/SizeTest.java,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- SizeTest.java	25 Oct 2010 11:53:12 -0000	1.34
  +++ SizeTest.java	27 Oct 2010 09:25:03 -0000	1.35
  @@ -22,7 +22,7 @@
   /**
    * Tests whether method size() of a header and its serialized size correspond
    * @author  Bela Ban
  - * @version $Id: SizeTest.java,v 1.34 2010/10/25 11:53:12 belaban Exp $
  + * @version $Id: SizeTest.java,v 1.35 2010/10/27 09:25:03 belaban Exp $
    */
   @Test(groups=Global.FUNCTIONAL)
   public class SizeTest {
  @@ -508,10 +508,12 @@
   
   
       public static void testStompHeader() throws Exception {
  -        STOMP.StompHeader hdr=STOMP.StompHeader.createMessageHeader("/topics/chat", UUID.randomUUID().toString());
  +        STOMP.StompHeader hdr=STOMP.StompHeader.createHeader(STOMP.StompHeader.Type.MESSAGE,
  +                                                             "destination", "/topics/chat",
  +                                                             "sender", UUID.randomUUID().toString());
           _testSize(hdr);
   
  -        hdr=STOMP.StompHeader.createEndpointHeader("192.168.1.5:8787");
  +        hdr=STOMP.StompHeader.createHeader(STOMP.StompHeader.Type.ENDPOINT, "endpoint", "192.168.1.5:8787");
           _testSize(hdr);
       }
   
  
  
  

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev