From jboss-remoting-commits at lists.jboss.org Wed Aug 4 21:26:38 2010 Content-Type: multipart/mixed; boundary="===============0723344882551750232==" MIME-Version: 1.0 From: jboss-remoting-commits at lists.jboss.org To: jboss-remoting-commits at lists.jboss.org Subject: [jboss-remoting-commits] JBoss Remoting SVN: r6006 - remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/bisocket/timeout. Date: Wed, 04 Aug 2010 21:26:38 -0400 Message-ID: <201008050126.o751QcGW009150@svn01.web.mwc.hst.phx2.redhat.com> --===============0723344882551750232== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ron.sigal(a)jboss.com Date: 2010-08-04 21:26:37 -0400 (Wed, 04 Aug 2010) New Revision: 6006 Modified: remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/bisoc= ket/timeout/BisocketDefaultTimeoutTestCase.java remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/bisoc= ket/timeout/BisocketWriteTimeoutTestCase.java Log: JBREM-1241: Added svn:eol-style subversion property. Modified: remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transpor= t/bisocket/timeout/BisocketDefaultTimeoutTestCase.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/biso= cket/timeout/BisocketDefaultTimeoutTestCase.java 2010-08-05 01:25:58 UTC (r= ev 6005) +++ remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/biso= cket/timeout/BisocketDefaultTimeoutTestCase.java 2010-08-05 01:26:37 UTC (r= ev 6006) @@ -1,96 +1,96 @@ -/* - * JBoss, Home of Professional Open Source. - * Copyright 2010, Red Hat Middleware LLC, and individual contributors - * as indicated by the @author tags. See the copyright.txt file 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 java.io.IOException; -import java.util.Map; - -import org.apache.log4j.Logger; -import org.jboss.remoting.InvokerLocator; -import org.jboss.remoting.transport.ClientFactory; -import org.jboss.remoting.transport.ClientInvoker; -import org.jboss.remoting.transport.bisocket.BisocketClientInvoker; -import org.jboss.remoting.transport.socket.ServerAddress; -import org.jboss.test.remoting.transport.socket.timeout.SocketDefaultTimeo= utTestCase; - - -/** - * Unit tests for JBREM-1188. - * = - * @author Ron Sigal - * @version $Revision: 1.1 $ - *

- * Copyright Feb 16, 2010 - */ -public class BisocketDefaultTimeoutTestCase extends SocketDefaultTimeoutTe= stCase -{ - private static Logger log =3D Logger.getLogger(BisocketDefaultTimeoutTe= stCase.class); = - = - = - protected Class getClientFactoryClass() - { - return TestBisocketClientFactory.class; - } - = - = - protected Class getClientInvokerClass() - { - return TestBisocketClientInvoker.class; - } - = - = - public static class TestBisocketClientFactory implements ClientFactory - { - public ClientInvoker createClientInvoker(InvokerLocator locator, Map= config) throws IOException - { - ClientInvoker clientInvoker =3D new TestBisocketClientInvoker(loc= ator, config); - log.info("TestClientFaotory.createClientInvoker() returning " + c= lientInvoker); - return clientInvoker; - } - public boolean supportsSSL() - { - return false; - } = - } - = - = - public static class TestBisocketClientInvoker extends BisocketClientInv= oker - { - public TestBisocketClientInvoker(InvokerLocator locator, Map configu= ration) throws IOException - { - super(locator, configuration); - } - public TestBisocketClientInvoker(InvokerLocator locator) throws IOEx= ception - { - super(locator); - } - public ServerAddress getServerAddress() - { - return address; - } - public String toString() - { - return "TestBisocketClientInvoker"; - } - } +/* + * JBoss, Home of Professional Open Source. + * Copyright 2010, Red Hat Middleware LLC, and individual contributors + * as indicated by the @author tags. See the copyright.txt file 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 java.io.IOException; +import java.util.Map; + +import org.apache.log4j.Logger; +import org.jboss.remoting.InvokerLocator; +import org.jboss.remoting.transport.ClientFactory; +import org.jboss.remoting.transport.ClientInvoker; +import org.jboss.remoting.transport.bisocket.BisocketClientInvoker; +import org.jboss.remoting.transport.socket.ServerAddress; +import org.jboss.test.remoting.transport.socket.timeout.SocketDefaultTimeo= utTestCase; + + +/** + * Unit tests for JBREM-1188. + * = + * @author Ron Sigal + * @version $Revision: 1.1 $ + *

+ * Copyright Feb 16, 2010 + */ +public class BisocketDefaultTimeoutTestCase extends SocketDefaultTimeoutTe= stCase +{ + private static Logger log =3D Logger.getLogger(BisocketDefaultTimeoutTe= stCase.class); = + = + = + protected Class getClientFactoryClass() + { + return TestBisocketClientFactory.class; + } + = + = + protected Class getClientInvokerClass() + { + return TestBisocketClientInvoker.class; + } + = + = + public static class TestBisocketClientFactory implements ClientFactory + { + public ClientInvoker createClientInvoker(InvokerLocator locator, Map= config) throws IOException + { + ClientInvoker clientInvoker =3D new TestBisocketClientInvoker(loc= ator, config); + log.info("TestClientFaotory.createClientInvoker() returning " + c= lientInvoker); + return clientInvoker; + } + public boolean supportsSSL() + { + return false; + } = + } + = + = + public static class TestBisocketClientInvoker extends BisocketClientInv= oker + { + public TestBisocketClientInvoker(InvokerLocator locator, Map configu= ration) throws IOException + { + super(locator, configuration); + } + public TestBisocketClientInvoker(InvokerLocator locator) throws IOEx= ception + { + super(locator); + } + public ServerAddress getServerAddress() + { + return address; + } + public String toString() + { + return "TestBisocketClientInvoker"; + } + } } \ No newline at end of file Property changes on: remoting2/branches/2.2/src/tests/org/jboss/test/remoti= ng/transport/bisocket/timeout/BisocketDefaultTimeoutTestCase.java ___________________________________________________________________ Name: svn:eol-style + native Modified: remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transpor= t/bisocket/timeout/BisocketWriteTimeoutTestCase.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/biso= cket/timeout/BisocketWriteTimeoutTestCase.java 2010-08-05 01:25:58 UTC (rev= 6005) +++ remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/biso= cket/timeout/BisocketWriteTimeoutTestCase.java 2010-08-05 01:26:37 UTC (rev= 6006) @@ -1,41 +1,41 @@ -/* -* JBoss, Home of Professional Open Source -* Copyright 2009, 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.WriteTimeoutTestPa= rent; - -/** - * Unit tests for JBREM-1120. - * = - * @author Ron Sigal - * @version $Rev$ - *

- * Copyright Apr 22, 2009 - *

- */ -public class BisocketWriteTimeoutTestCase extends WriteTimeoutTestParent -{ - protected String getTransport() - { - return "bisocket"; - } -} +/* +* JBoss, Home of Professional Open Source +* Copyright 2009, 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.WriteTimeoutTestPa= rent; + +/** + * Unit tests for JBREM-1120. + * = + * @author Ron Sigal + * @version $Rev$ + *

+ * Copyright Apr 22, 2009 + *

+ */ +public class BisocketWriteTimeoutTestCase extends WriteTimeoutTestParent +{ + protected String getTransport() + { + return "bisocket"; + } +} Property changes on: remoting2/branches/2.2/src/tests/org/jboss/test/remoti= ng/transport/bisocket/timeout/BisocketWriteTimeoutTestCase.java ___________________________________________________________________ Name: svn:eol-style + native --===============0723344882551750232==--