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

Ron Sigal ron_sigal at yahoo.com
Wed Dec 27 01:14:30 EST 2006


  User: rsigal  
  Date: 06/12/27 01:14:30

  Added:       src/tests/org/jboss/test/remoting/transport/bisocket/configuration 
                        FactoryConfigTestCase.java
  Log:
  JBREM-650: Unit tests for bisocket transport.
  
  Revision  Changes    Path
  1.2       +47 -0     JBossRemoting/src/tests/org/jboss/test/remoting/transport/bisocket/configuration/FactoryConfigTestCase.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: FactoryConfigTestCase.java
  ===================================================================
  RCS file: FactoryConfigTestCase.java
  diff -N FactoryConfigTestCase.java
  --- /dev/null	1 Jan 1970 00:00:00 -0000
  +++ FactoryConfigTestCase.java	27 Dec 2006 06:14:30 -0000	1.2
  @@ -0,0 +1,47 @@
  +/*
  + * JBoss, Home of Professional Open Source
  + * Copyright 2006, 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.configuration;
  +
  +import java.util.Map;
  +
  +import org.jboss.remoting.transport.bisocket.Bisocket;
  +import org.jboss.test.remoting.transport.config.FactoryConfigTestCaseParent;
  +
  +/**
  + * 
  + * @author <a href="mailto:ron.sigal at jboss.com">Ron Sigal</a>
  + * <p>
  + * Copyright (c) May 20, 2006
  + * </p>
  + */
  +public class FactoryConfigTestCase extends FactoryConfigTestCaseParent
  +{
  +   protected String getTransport()
  +   {
  +      return "bisocket";
  +   }
  +   
  +   protected void configureServer(Map config)
  +   {
  +      config.put(Bisocket.IS_CALLBACK_SERVER, "false");
  +   }
  +}
  
  
  



More information about the jboss-cvs-commits mailing list