[jboss-cvs] JBossRemoting/src/tests/org/jboss/test/remoting/transport/web ...

Ron Sigal ron_sigal at yahoo.com
Fri Jun 8 02:17:49 EDT 2007


  User: rsigal  
  Date: 07/06/08 02:17:49

  Modified:    src/tests/org/jboss/test/remoting/transport/web  Tag:
                        remoting_2_x WebInvokerTestClient.java
  Log:
  JBREM-714:  Use 1.x and 2.x versions of Client.RAW.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.13.4.1  +7 -1      JBossRemoting/src/tests/org/jboss/test/remoting/transport/web/WebInvokerTestClient.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: WebInvokerTestClient.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/tests/org/jboss/test/remoting/transport/web/WebInvokerTestClient.java,v
  retrieving revision 1.13
  retrieving revision 1.13.4.1
  diff -u -b -r1.13 -r1.13.4.1
  --- WebInvokerTestClient.java	25 Jul 2006 19:52:21 -0000	1.13
  +++ WebInvokerTestClient.java	8 Jun 2007 06:17:49 -0000	1.13.4.1
  @@ -52,8 +52,14 @@
            remotingClient = new Client(locator);
            remotingClient.connect();
   
  +         // The following use of two versions of Client.RAW is to account for the
  +         // fact that the value of Client.RAW changed from Remoting 1.4.x to
  +         // Remoting 2.0.0.  This test is used as part of the version compatibility
  +         // test suite.  Yuck.
            Map metadata = new HashMap();
  -         metadata.put(Client.RAW, Boolean.TRUE);
  +//         metadata.put(Client.RAW, Boolean.TRUE);
  +         metadata.put("rawPayload", Boolean.TRUE);
  +         metadata.put("RAW_PAYLOAD", Boolean.TRUE);
            metadata.put("TYPE", "POST");
   
            Properties headerProps = new Properties();
  
  
  



More information about the jboss-cvs-commits mailing list