From jboss-remoting-commits at lists.jboss.org Wed Aug 4 21:36:50 2010 Content-Type: multipart/mixed; boundary="===============1218645421779004888==" 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: r6023 - remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/servlet. Date: Wed, 04 Aug 2010 21:36:50 -0400 Message-ID: <201008050136.o751aoMO010888@svn01.web.mwc.hst.phx2.redhat.com> --===============1218645421779004888== 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:36:49 -0400 (Wed, 04 Aug 2010) New Revision: 6023 Modified: remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/servl= et/ResponseCodeTestClient.java remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/servl= et/ServletInvokerNoExceptionTestClient.java Log: JBREM-1241: Added svn:eol-style subversion property. Modified: remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transpor= t/servlet/ResponseCodeTestClient.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/ResponseCodeTestClient.java 2010-08-05 01:35:57 UTC (rev 6022) +++ remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/serv= let/ResponseCodeTestClient.java 2010-08-05 01:36:49 UTC (rev 6023) @@ -1,51 +1,51 @@ -/* -* 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; - -import org.jboss.test.remoting.transport.http.headers.ResponseCodeTestCase; - -/** - * Unit test for JBREM-728. - * = - * @author Ron Sigal - *
- * Copyright (c) November 24, 2007 - *
- * - */ -public class ResponseCodeTestClient extends ResponseCodeTestCase -{ - protected String getTransport() - { - return "servlet"; - } - = - protected void setupServer() - { - locatorURI =3D "servlet://localhost:8080/servlet-invoker/ServerInvo= kerServlet"; - port =3D 8080; - } - = - protected void shutdownServer() - { - } -} +/* +* 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; + +import org.jboss.test.remoting.transport.http.headers.ResponseCodeTestCase; + +/** + * Unit test for JBREM-728. + * = + * @author Ron Sigal + *+ * Copyright (c) November 24, 2007 + *
+ * + */ +public class ResponseCodeTestClient extends ResponseCodeTestCase +{ + protected String getTransport() + { + return "servlet"; + } + = + protected void setupServer() + { + locatorURI =3D "servlet://localhost:8080/servlet-invoker/ServerInvo= kerServlet"; + port =3D 8080; + } + = + protected void shutdownServer() + { + } +} Property changes on: remoting2/branches/2.2/src/tests/org/jboss/test/remoti= ng/transport/servlet/ResponseCodeTestClient.java ___________________________________________________________________ Name: svn:eol-style + native Modified: remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transpor= t/servlet/ServletInvokerNoExceptionTestClient.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/ServletInvokerNoExceptionTestClient.java 2010-08-05 01:35:57 UTC (rev 6= 022) +++ remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/serv= let/ServletInvokerNoExceptionTestClient.java 2010-08-05 01:36:49 UTC (rev 6= 023) @@ -1,59 +1,59 @@ -/* -* 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; - -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 expl= icitly instructed - * not to return the actual exception. - * = - * See JBREM-813 and JBREM-675. - * = - * @author Tom Elrod - * @author Ron Sigal - */ -public class ServletInvokerNoExceptionTestClient extends WebInvokerTestCli= ent -{ - public static final Integer ERROR_RESPONSE_CODE =3D new Integer(500); - - public String getLocatorURI() - { - return "servlet://localhost:8080/servlet-invoker/ServerInvokerServle= t"; - } - - public static void main(String[] args) - { - ServletInvokerNoExceptionTestClient client =3D new ServletInvokerNoE= xceptionTestClient(); - 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; + +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 expl= icitly instructed + * not to return the actual exception. + * = + * See JBREM-813 and JBREM-675. + * = + * @author Tom Elrod + * @author Ron Sigal + */ +public class ServletInvokerNoExceptionTestClient extends WebInvokerTestCli= ent +{ + public static final Integer ERROR_RESPONSE_CODE =3D new Integer(500); + + public String getLocatorURI() + { + return "servlet://localhost:8080/servlet-invoker/ServerInvokerServle= t"; + } + + public static void main(String[] args) + { + ServletInvokerNoExceptionTestClient client =3D new ServletInvokerNoE= xceptionTestClient(); + 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/ServletInvokerNoExceptionTestClient.java ___________________________________________________________________ Name: svn:eol-style + native --===============1218645421779004888==--