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

Ron Sigal ron_sigal at yahoo.com
Tue Dec 19 01:17:53 EST 2006


  User: rsigal  
  Date: 06/12/19 01:17:53

  Added:       src/tests/org/jboss/test/remoting/transport/bisocket/connection/retry   
                        Tag: remoting_2_x BisocketRetryTestCase.java
                        BisocketRetryServer.java BisocketRetryClient.java
  Log:
  JBREM-650: Added more unit tests for bisocket transport.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.1   +38 -0     JBossRemoting/src/tests/org/jboss/test/remoting/transport/bisocket/connection/retry/Attic/BisocketRetryTestCase.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: BisocketRetryTestCase.java
  ===================================================================
  RCS file: BisocketRetryTestCase.java
  diff -N BisocketRetryTestCase.java
  --- /dev/null	1 Jan 1970 00:00:00 -0000
  +++ BisocketRetryTestCase.java	19 Dec 2006 06:17:53 -0000	1.1.2.1
  @@ -0,0 +1,38 @@
  +/*
  +* JBoss, Home of Professional Open Source
  +* Copyright 2005, JBoss Inc., and individual contributors as indicated
  +* by the @authors tag. See the copyright.txt in the distribution for a
  +* full listing of individual contributors.
  +*
  +* This is free software; you can redistribute it and/or modify it
  +* under the terms of the GNU Lesser General Public License as
  +* published by the Free Software Foundation; either version 2.1 of
  +* the License, or (at your option) any later version.
  +*
  +* This software is distributed in the hope that it will be useful,
  +* but WITHOUT ANY WARRANTY; without even the implied warranty of
  +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  +* Lesser General Public License for more details.
  +*
  +* You should have received a copy of the GNU Lesser General Public
  +* License along with this software; if not, write to the Free
  +* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  +* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  +*/
  +package org.jboss.test.remoting.transport.bisocket.connection.retry;
  +
  +import org.jboss.test.remoting.transport.socket.connection.retry.SocketRetryTestCase;
  +
  +/**
  + * @author <a href="mailto:tom.elrod at jboss.com">Tom Elrod</a>
  + * @author <a href="mailto:ron.sigal at jboss.org">Ron Sigal</a>
  + */
  +public class BisocketRetryTestCase extends SocketRetryTestCase
  +{
  +   public void declareTestClasses()
  +   {
  +      addTestClasses(BisocketRetryClient.class.getName(),
  +                     1,
  +                     BisocketRetryServer.class.getName());
  +   }
  +}
  \ No newline at end of file
  
  
  
  1.1.2.1   +20 -0     JBossRemoting/src/tests/org/jboss/test/remoting/transport/bisocket/connection/retry/Attic/BisocketRetryServer.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: BisocketRetryServer.java
  ===================================================================
  RCS file: BisocketRetryServer.java
  diff -N BisocketRetryServer.java
  --- /dev/null	1 Jan 1970 00:00:00 -0000
  +++ BisocketRetryServer.java	19 Dec 2006 06:17:53 -0000	1.1.2.1
  @@ -0,0 +1,20 @@
  +package org.jboss.test.remoting.transport.bisocket.connection.retry;
  +
  +import org.jboss.test.remoting.transport.socket.connection.retry.SocketRetryServer;
  +
  +/**
  + * @author <a href="mailto:tom.elrod at jboss.com">Tom Elrod</a>
  + * @author <a href="mailto:ron.sigal at jboss.org">Ron Sigal</a>
  + */
  +public class BisocketRetryServer extends SocketRetryServer
  +{
  +   protected String getTransport()
  +   {
  +      return "bisocket";
  +   }
  +   
  +   protected int getPort()
  +   {
  +      return super.getPort() + 13;
  +   }
  +}
  
  
  
  1.1.2.1   +20 -0     JBossRemoting/src/tests/org/jboss/test/remoting/transport/bisocket/connection/retry/Attic/BisocketRetryClient.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: BisocketRetryClient.java
  ===================================================================
  RCS file: BisocketRetryClient.java
  diff -N BisocketRetryClient.java
  --- /dev/null	1 Jan 1970 00:00:00 -0000
  +++ BisocketRetryClient.java	19 Dec 2006 06:17:53 -0000	1.1.2.1
  @@ -0,0 +1,20 @@
  +package org.jboss.test.remoting.transport.bisocket.connection.retry;
  +
  +import org.jboss.test.remoting.transport.socket.connection.retry.SocketRetryClient;
  +
  +/**
  + * @author <a href="mailto:tom.elrod at jboss.com">Tom Elrod</a>
  + * @author <a href="mailto:ron.sigal at jboss.org">Ron Sigal</a>
  + */
  +public class BisocketRetryClient extends SocketRetryClient
  +{
  +   protected String getTransport()
  +   {
  +      return "bisocket";
  +   }
  +   
  +   protected int getPort()
  +   {
  +      return super.getPort() + 13;
  +   }
  +}
  
  
  



More information about the jboss-cvs-commits mailing list