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

Ron Sigal ron_sigal at yahoo.com
Wed Dec 13 20:08:02 EST 2006


  User: rsigal  
  Date: 06/12/13 20:08:02

  Added:       src/tests/org/jboss/test/remoting/transport/bisocket/timeout   
                        Tag: remoting_2_x BisocketTimeoutClientTest.java
                        BisocketTimeoutTestCase.java
                        BisocketTimeoutServerTest.java
  Log:
  JBREM-650:  Unit tests for bisocket transport.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.1   +36 -0     JBossRemoting/src/tests/org/jboss/test/remoting/transport/bisocket/timeout/Attic/BisocketTimeoutClientTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: BisocketTimeoutClientTest.java
  ===================================================================
  RCS file: BisocketTimeoutClientTest.java
  diff -N BisocketTimeoutClientTest.java
  --- /dev/null	1 Jan 1970 00:00:00 -0000
  +++ BisocketTimeoutClientTest.java	14 Dec 2006 01:08:02 -0000	1.1.2.1
  @@ -0,0 +1,36 @@
  +/*
  +* 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.timeout;
  +
  +import org.jboss.test.remoting.transport.socket.timeout.TimeoutClientTest;
  +
  +/**
  + * @author <a href="mailto:tom.elrod at jboss.com">Tom Elrod</a>
  + */
  +public class BisocketTimeoutClientTest extends TimeoutClientTest
  +{
  +   protected String getTransport()
  +   {
  +      return "bisocket";
  +   }
  +}
  \ No newline at end of file
  
  
  
  1.1.2.1   +38 -0     JBossRemoting/src/tests/org/jboss/test/remoting/transport/bisocket/timeout/Attic/BisocketTimeoutTestCase.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: BisocketTimeoutTestCase.java
  ===================================================================
  RCS file: BisocketTimeoutTestCase.java
  diff -N BisocketTimeoutTestCase.java
  --- /dev/null	1 Jan 1970 00:00:00 -0000
  +++ BisocketTimeoutTestCase.java	14 Dec 2006 01:08:02 -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.timeout;
  +
  +import org.jboss.jrunit.harness.TestDriver;
  +
  +/**
  + * @author <a href="mailto:tom.elrod at jboss.com">Tom Elrod</a>
  + */
  +public class BisocketTimeoutTestCase extends TestDriver
  +{
  +   public void declareTestClasses()
  +   {
  +      addTestClasses(BisocketTimeoutClientTest.class.getName(),
  +                     1,
  +                     BisocketTimeoutServerTest.class.getName());
  +   }
  +}
  \ No newline at end of file
  
  
  
  1.1.2.1   +50 -0     JBossRemoting/src/tests/org/jboss/test/remoting/transport/bisocket/timeout/Attic/BisocketTimeoutServerTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: BisocketTimeoutServerTest.java
  ===================================================================
  RCS file: BisocketTimeoutServerTest.java
  diff -N BisocketTimeoutServerTest.java
  --- /dev/null	1 Jan 1970 00:00:00 -0000
  +++ BisocketTimeoutServerTest.java	14 Dec 2006 01:08:02 -0000	1.1.2.1
  @@ -0,0 +1,50 @@
  +/*
  +* 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.timeout;
  +
  +import org.jboss.jrunit.extensions.ServerTestCase;
  +import org.jboss.test.remoting.transport.socket.timeout.TimeoutServerTest;
  +
  +/**
  + * @author <a href="mailto:tom.elrod at jboss.com">Tom Elrod</a>
  + */
  +public class BisocketTimeoutServerTest extends TimeoutServerTest
  +{
  +   protected String getTransport()
  +   {
  +      return "bisocket";
  +   }
  +   
  +   public static void main(String[] args)
  +   {
  +      BisocketTimeoutServerTest server = new BisocketTimeoutServerTest();
  +      try
  +      {
  +         server.setUp();
  +      }
  +      catch(Exception e)
  +      {
  +         e.printStackTrace();
  +      }
  +   }
  +}
  \ No newline at end of file
  
  
  



More information about the jboss-cvs-commits mailing list