From jboss-remoting-commits at lists.jboss.org Wed Aug 4 22:07:38 2010
Content-Type: multipart/mixed; boundary="===============0668520884591539102=="
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: r6038 -
remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/servlet/ssl.
Date: Wed, 04 Aug 2010 22:07:37 -0400
Message-ID: <201008050207.o7527bnA020379@svn01.web.mwc.hst.phx2.redhat.com>
--===============0668520884591539102==
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:07:37 -0400 (Wed, 04 Aug 2010)
New Revision: 6038
Modified:
remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/servl=
et/ssl/SSLServletInvokerExceptionTestClient.java
Log:
JBREM-1241: Added svn:eol-style subversion property.
Modified: remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transpor=
t/servlet/ssl/SSLServletInvokerExceptionTestClient.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/serv=
let/ssl/SSLServletInvokerExceptionTestClient.java 2010-08-05 02:05:28 UTC (=
rev 6037)
+++ remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/serv=
let/ssl/SSLServletInvokerExceptionTestClient.java 2010-08-05 02:07:37 UTC (=
rev 6038)
@@ -1,65 +1,65 @@
-/*
-* 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.servlet.ssl;
-
-import org.jboss.test.remoting.transport.web.WebInvokerTestClient;
-
-/**
- * This test is identical to ServletInvokerTestClient except that it, in t=
he case
- * when an exception is thrown on the server, ServletServerInvoker is inst=
ructed
- * to return the actual exception.
- * =
- * See JBREM-813.
- * =
- * @author Tom Elrod
- * @author Ron Sigal
- */
-public class SSLServletInvokerExceptionTestClient extends WebInvokerTestCl=
ient
-{
- public static final Integer ERROR_RESPONSE_CODE =3D new Integer(500);
-
- public String getLocatorURI()
- {
- // since doing basic (using default ssl server socket factory)
- // need to set the system properties to the truststore
- String trustStoreFilePath =3D this.getClass().getResource("truststor=
e").getFile();
- System.setProperty("javax.net.ssl.trustStore", trustStoreFilePath);
-
- return "sslservlet://localhost:8443/servlet-invoker/ServerInvokerSer=
vlet/?createUniqueObjectName=3Dtrue";
- //return "http://localhost:8080/servlet-invoker/ServerInvokerServlet=
";
- }
-
- public static void main(String[] args)
- {
- SSLServletInvokerExceptionTestClient client =3D new SSLServletInvoke=
rExceptionTestClient();
- try
- {
- client.testPostInvocation();
- }
- catch (Exception e)
- {
- e.printStackTrace();
- }
- }
-
+/*
+* 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.servlet.ssl;
+
+import org.jboss.test.remoting.transport.web.WebInvokerTestClient;
+
+/**
+ * This test is identical to ServletInvokerTestClient except that it, in t=
he case
+ * when an exception is thrown on the server, ServletServerInvoker is inst=
ructed
+ * to return the actual exception.
+ * =
+ * See JBREM-813.
+ * =
+ * @author Tom Elrod
+ * @author Ron Sigal
+ */
+public class SSLServletInvokerExceptionTestClient extends WebInvokerTestCl=
ient
+{
+ public static final Integer ERROR_RESPONSE_CODE =3D new Integer(500);
+
+ public String getLocatorURI()
+ {
+ // since doing basic (using default ssl server socket factory)
+ // need to set the system properties to the truststore
+ String trustStoreFilePath =3D this.getClass().getResource("truststor=
e").getFile();
+ System.setProperty("javax.net.ssl.trustStore", trustStoreFilePath);
+
+ return "sslservlet://localhost:8443/servlet-invoker/ServerInvokerSer=
vlet/?createUniqueObjectName=3Dtrue";
+ //return "http://localhost:8080/servlet-invoker/ServerInvokerServlet=
";
+ }
+
+ public static void main(String[] args)
+ {
+ SSLServletInvokerExceptionTestClient client =3D new SSLServletInvoke=
rExceptionTestClient();
+ try
+ {
+ client.testPostInvocation();
+ }
+ catch (Exception e)
+ {
+ e.printStackTrace();
+ }
+ }
+
}
\ No newline at end of file
Property changes on: remoting2/branches/2.2/src/tests/org/jboss/test/remoti=
ng/transport/servlet/ssl/SSLServletInvokerExceptionTestClient.java
___________________________________________________________________
Name: svn:eol-style
+ native
--===============0668520884591539102==--