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

Ovidiu Feodorov ovidiu.feodorov at jboss.com
Sat Jan 13 07:42:36 EST 2007


  User: ovidiu  
  Date: 07/01/13 07:42:36

  Modified:    src/tests/org/jboss/test/remoting/transport   Tag:
                        remoting_2_x InvokerClientTest.java
                        InvokerServerTest.java
  Log:
  Various logging improvments, minor reformatting and new tests in preparation 
  for a solution for http://jira.jboss.org/jira/browse/JBREM-666.
  
  Includes http://jira.jboss.org/jira/browse/JBREM-667.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.13.2.1  +5 -7      JBossRemoting/src/tests/org/jboss/test/remoting/transport/InvokerClientTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: InvokerClientTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/tests/org/jboss/test/remoting/transport/InvokerClientTest.java,v
  retrieving revision 1.13
  retrieving revision 1.13.2.1
  diff -u -b -r1.13 -r1.13.2.1
  --- InvokerClientTest.java	20 Sep 2006 04:22:26 -0000	1.13
  +++ InvokerClientTest.java	13 Jan 2007 12:42:36 -0000	1.13.2.1
  @@ -440,7 +440,7 @@
      {
         try
         {
  -         Object ret = makeInvocation("testException", null);
  +         makeInvocation("testException", null);
            assertTrue("Did not get exception thrown as expected.", false);
         }
         catch(Exception throwable)
  @@ -456,11 +456,9 @@
   
      protected Object makeInvocation(String method, String param) throws Throwable
      {
  -      Object ret = client.invoke(new NameBasedInvocation(method,
  +      return client.invoke(new NameBasedInvocation(method,
                                                            new Object[]{param},
                                                            new String[]{String.class.getName()}),
                                    null);
  -
  -      return ret;
      }
   }
  
  
  
  1.6.10.1  +1 -1      JBossRemoting/src/tests/org/jboss/test/remoting/transport/InvokerServerTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: InvokerServerTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/tests/org/jboss/test/remoting/transport/InvokerServerTest.java,v
  retrieving revision 1.6
  retrieving revision 1.6.10.1
  diff -u -b -r1.6 -r1.6.10.1
  --- InvokerServerTest.java	30 Dec 2005 05:26:50 -0000	1.6
  +++ InvokerServerTest.java	13 Jan 2007 12:42:36 -0000	1.6.10.1
  @@ -92,7 +92,7 @@
            {
               String key = (String) itr.next();
               String value = (String) metadata.get(key);
  -            uriBuffer.append(key + "=" + value + "&");
  +            uriBuffer.append(key).append("=").append(value).append("&");
            }
            return uriBuffer.substring(0, uriBuffer.length() - 1);
         }
  
  
  



More information about the jboss-cvs-commits mailing list