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

Tom Elrod tom.elrod at jboss.com
Mon Sep 25 22:27:52 EDT 2006


  User: telrod  
  Date: 06/09/25 22:27:52

  Modified:    src/tests/org/jboss/test/remoting/lease 
                        LeaseUnitTestCase.java
  Log:
  JBREM-548 & JBREM-604 & JBREM-596 - updated so oneway invocations will only send data on client (and not wait for response) and only receive data on the server (and not write out response).  Also allowing socket server invoker to receive raw data from any client and send along to the handler.  Finally, fixed some issues where test cases were failing due to change leasing (JBREM-596) as well as changes made to http server invoker to work with messaging.
  
  Revision  Changes    Path
  1.7       +10 -0     JBossRemoting/src/tests/org/jboss/test/remoting/lease/LeaseUnitTestCase.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: LeaseUnitTestCase.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/tests/org/jboss/test/remoting/lease/LeaseUnitTestCase.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -b -r1.6 -r1.7
  --- LeaseUnitTestCase.java	9 May 2006 00:59:39 -0000	1.6
  +++ LeaseUnitTestCase.java	26 Sep 2006 02:27:52 -0000	1.7
  @@ -22,6 +22,8 @@
   package org.jboss.test.remoting.lease;
   
   import junit.framework.TestCase;
  +import org.apache.log4j.Level;
  +import org.jboss.logging.XLevel;
   import org.jboss.remoting.ConnectionNotifier;
   import org.jboss.remoting.Lease;
   
  @@ -33,6 +35,14 @@
   public class LeaseUnitTestCase extends TestCase
   {
   
  +   public void setUp()
  +   {
  +      org.apache.log4j.BasicConfigurator.configure();
  +      org.apache.log4j.Category.getRoot().setLevel(Level.INFO);
  +      org.apache.log4j.Category.getInstance("org.jboss.remoting").setLevel(XLevel.TRACE);
  +      org.apache.log4j.Category.getInstance("org.jgroups").setLevel(Level.FATAL);
  +   }
  +
      public void testLease() throws Exception
      {
         ConnectionNotifierMock notifier = new ConnectionNotifierMock();
  
  
  



More information about the jboss-cvs-commits mailing list