From jboss-remoting-commits at lists.jboss.org Wed Aug 4 22:14:14 2010 Content-Type: multipart/mixed; boundary="===============0243170357477924106==" 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: r6047 - remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/socket/ssl/timeout. Date: Wed, 04 Aug 2010 22:14:13 -0400 Message-ID: <201008050214.o752EDo9020958@svn01.web.mwc.hst.phx2.redhat.com> --===============0243170357477924106== 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 22:14:13 -0400 (Wed, 04 Aug 2010) New Revision: 6047 Modified: remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/socke= t/ssl/timeout/SSLSocketDefaultTimeoutTestCase.java remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/socke= t/ssl/timeout/SSLSocketWriteTimeoutTestCase.java Log: JBREM-1241: Added svn:eol-style subversion property. Modified: remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transpor= t/socket/ssl/timeout/SSLSocketDefaultTimeoutTestCase.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/sock= et/ssl/timeout/SSLSocketDefaultTimeoutTestCase.java 2010-08-05 02:13:36 UTC= (rev 6046) +++ remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/sock= et/ssl/timeout/SSLSocketDefaultTimeoutTestCase.java 2010-08-05 02:14:13 UTC= (rev 6047) @@ -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.socket.ssl.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.socket.ServerAddress; -import org.jboss.remoting.transport.sslsocket.SSLSocketClientInvoker; -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 SSLSocketDefaultTimeoutTestCase extends SocketDefaultTimeoutT= estCase -{ - private static Logger log =3D Logger.getLogger(SSLSocketDefaultTimeoutT= estCase.class); = - = - = - protected Class getClientFactoryClass() - { - return TestSSLSocketClientFactory.class; - } - = - = - protected Class getClientInvokerClass() - { - return TestSSLSocketClientInvoker.class; - } - = - = - public static class TestSSLSocketClientFactory implements ClientFactory - { - public ClientInvoker createClientInvoker(InvokerLocator locator, Map= config) throws IOException - { - ClientInvoker clientInvoker =3D new TestSSLSocketClientInvoker(lo= cator, config); - log.info("TestClientFaotory.createClientInvoker() returning " + c= lientInvoker); - return clientInvoker; - } - public boolean supportsSSL() - { - return true; - } = - } - = - = - public static class TestSSLSocketClientInvoker extends SSLSocketClientI= nvoker - { - public TestSSLSocketClientInvoker(InvokerLocator locator, Map config= uration) throws IOException - { - super(locator, configuration); - } - public TestSSLSocketClientInvoker(InvokerLocator locator) throws IOE= xception - { - super(locator); - } - public ServerAddress getServerAddress() - { - return address; - } - public String toString() - { - return "TestSSLSocketClientInvoker"; - } - } +/* + * 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.socket.ssl.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.socket.ServerAddress; +import org.jboss.remoting.transport.sslsocket.SSLSocketClientInvoker; +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 SSLSocketDefaultTimeoutTestCase extends SocketDefaultTimeoutT= estCase +{ + private static Logger log =3D Logger.getLogger(SSLSocketDefaultTimeoutT= estCase.class); = + = + = + protected Class getClientFactoryClass() + { + return TestSSLSocketClientFactory.class; + } + = + = + protected Class getClientInvokerClass() + { + return TestSSLSocketClientInvoker.class; + } + = + = + public static class TestSSLSocketClientFactory implements ClientFactory + { + public ClientInvoker createClientInvoker(InvokerLocator locator, Map= config) throws IOException + { + ClientInvoker clientInvoker =3D new TestSSLSocketClientInvoker(lo= cator, config); + log.info("TestClientFaotory.createClientInvoker() returning " + c= lientInvoker); + return clientInvoker; + } + public boolean supportsSSL() + { + return true; + } = + } + = + = + public static class TestSSLSocketClientInvoker extends SSLSocketClientI= nvoker + { + public TestSSLSocketClientInvoker(InvokerLocator locator, Map config= uration) throws IOException + { + super(locator, configuration); + } + public TestSSLSocketClientInvoker(InvokerLocator locator) throws IOE= xception + { + super(locator); + } + public ServerAddress getServerAddress() + { + return address; + } + public String toString() + { + return "TestSSLSocketClientInvoker"; + } + } } \ No newline at end of file Property changes on: remoting2/branches/2.2/src/tests/org/jboss/test/remoti= ng/transport/socket/ssl/timeout/SSLSocketDefaultTimeoutTestCase.java ___________________________________________________________________ Name: svn:eol-style + native Modified: remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transpor= t/socket/ssl/timeout/SSLSocketWriteTimeoutTestCase.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/sock= et/ssl/timeout/SSLSocketWriteTimeoutTestCase.java 2010-08-05 02:13:36 UTC (= rev 6046) +++ remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/sock= et/ssl/timeout/SSLSocketWriteTimeoutTestCase.java 2010-08-05 02:14:13 UTC (= rev 6047) @@ -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.socket.ssl.timeout; - -import org.jboss.test.remoting.transport.socket.timeout.SSLWriteTimeoutTes= tParent; - -/** - * Unit tests for JBREM-1120. - * = - * @author Ron Sigal - * @version $Rev$ - *
- * Copyright Apr 22, 2009 - *
- */ -public class SSLSocketWriteTimeoutTestCase extends SSLWriteTimeoutTestPare= nt -{ - protected String getTransport() - { - return "sslsocket"; - } -} +/* +* 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.socket.ssl.timeout; + +import org.jboss.test.remoting.transport.socket.timeout.SSLWriteTimeoutTes= tParent; + +/** + * Unit tests for JBREM-1120. + * = + * @author Ron Sigal + * @version $Rev$ + *+ * Copyright Apr 22, 2009 + *
+ */ +public class SSLSocketWriteTimeoutTestCase extends SSLWriteTimeoutTestPare= nt +{ + protected String getTransport() + { + return "sslsocket"; + } +} Property changes on: remoting2/branches/2.2/src/tests/org/jboss/test/remoti= ng/transport/socket/ssl/timeout/SSLSocketWriteTimeoutTestCase.java ___________________________________________________________________ Name: svn:eol-style + native --===============0243170357477924106==--