[jboss-remoting-commits] JBoss Remoting SVN: r3669 - remoting2/branches/2.x/src/tests/org/jboss/test/remoting/versioning/transport/rmi.

jboss-remoting-commits at lists.jboss.org jboss-remoting-commits at lists.jboss.org
Thu Mar 20 01:44:13 EDT 2008


Author: ron.sigal at jboss.com
Date: 2008-03-20 01:44:12 -0400 (Thu, 20 Mar 2008)
New Revision: 3669

Added:
   remoting2/branches/2.x/src/tests/org/jboss/test/remoting/versioning/transport/rmi/VersionRMINativeMarshallerTestCase.java
   remoting2/branches/2.x/src/tests/org/jboss/test/remoting/versioning/transport/rmi/VersionRMIOnewayNativeMarshallerTestCase.java
   remoting2/branches/2.x/src/tests/org/jboss/test/remoting/versioning/transport/rmi/VersionRMIOnewaySerializableMarshallerTestCase.java
   remoting2/branches/2.x/src/tests/org/jboss/test/remoting/versioning/transport/rmi/VersionRMISerializableMarshallerTestCase.java
Removed:
   remoting2/branches/2.x/src/tests/org/jboss/test/remoting/versioning/transport/rmi/VersionRMIInvokerTestCase.java
Log:
JBREM-167, JBREM-923: Decomposed VersionRMIInvokerTestCase into four variations.

Deleted: remoting2/branches/2.x/src/tests/org/jboss/test/remoting/versioning/transport/rmi/VersionRMIInvokerTestCase.java
===================================================================
--- remoting2/branches/2.x/src/tests/org/jboss/test/remoting/versioning/transport/rmi/VersionRMIInvokerTestCase.java	2008-03-20 05:42:13 UTC (rev 3668)
+++ remoting2/branches/2.x/src/tests/org/jboss/test/remoting/versioning/transport/rmi/VersionRMIInvokerTestCase.java	2008-03-20 05:44:12 UTC (rev 3669)
@@ -1,17 +0,0 @@
-package org.jboss.test.remoting.versioning.transport.rmi;
-
-import org.jboss.test.remoting.versioning.transport.VersionInvokerTestCaseBase;
-
-/**
- * @author <a href="mailto:tom.elrod at jboss.com">Tom Elrod</a>
- */
-public class VersionRMIInvokerTestCase extends VersionInvokerTestCaseBase
-{
-   public void declareTestClasses()
-   {
-      addTestClasses("org.jboss.test.remoting.transport.rmi.RMIInvokerClientTest",
-                     1,
-                     "org.jboss.test.remoting.transport.rmi.RMIInvokerServerTest");
-   }
-
-}

Added: remoting2/branches/2.x/src/tests/org/jboss/test/remoting/versioning/transport/rmi/VersionRMINativeMarshallerTestCase.java
===================================================================
--- remoting2/branches/2.x/src/tests/org/jboss/test/remoting/versioning/transport/rmi/VersionRMINativeMarshallerTestCase.java	                        (rev 0)
+++ remoting2/branches/2.x/src/tests/org/jboss/test/remoting/versioning/transport/rmi/VersionRMINativeMarshallerTestCase.java	2008-03-20 05:44:12 UTC (rev 3669)
@@ -0,0 +1,46 @@
+/*
+* 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.versioning.transport.rmi;
+
+import org.jboss.test.remoting.transport.InvokerTestDriver;
+import org.jboss.test.remoting.transport.rmi.RMIInvokerNativeMarshallerClientTest;
+import org.jboss.test.remoting.transport.rmi.RMIInvokerNativeMarshallerServerTest;
+import org.jboss.test.remoting.versioning.transport.VersionInvokerTestCaseBase;
+
+/**
+ * This should be used as the main test case for the invoker client/server.
+ * It will start one instance of the client and one of the server and will
+ * gather the test results and report them in standard JUnit format.  When
+ * wanting to run JUnit test for invoker, this is the class to use.
+ *
+ * @author <a href="mailto:telrod at e2technologies.net">Tom Elrod</a>
+ */
+public class VersionRMINativeMarshallerTestCase extends VersionInvokerTestCaseBase
+{
+   public void declareTestClasses()
+   {
+      addTestClasses(RMIInvokerNativeMarshallerClientTest.class.getName(),
+                     1,
+                     RMIInvokerNativeMarshallerServerTest.class.getName());
+   }
+}
\ No newline at end of file

Added: remoting2/branches/2.x/src/tests/org/jboss/test/remoting/versioning/transport/rmi/VersionRMIOnewayNativeMarshallerTestCase.java
===================================================================
--- remoting2/branches/2.x/src/tests/org/jboss/test/remoting/versioning/transport/rmi/VersionRMIOnewayNativeMarshallerTestCase.java	                        (rev 0)
+++ remoting2/branches/2.x/src/tests/org/jboss/test/remoting/versioning/transport/rmi/VersionRMIOnewayNativeMarshallerTestCase.java	2008-03-20 05:44:12 UTC (rev 3669)
@@ -0,0 +1,47 @@
+/*
+* 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.versioning.transport.rmi;
+
+import org.jboss.test.remoting.transport.InvokerTestDriver;
+import org.jboss.test.remoting.transport.rmi.RMIInvokerOnewayNativeMarshallerClientTest;
+import org.jboss.test.remoting.transport.rmi.RMIInvokerOnewayNativeMarshallerServerTest;
+import org.jboss.test.remoting.versioning.transport.VersionInvokerTestCaseBase;
+
+/**
+ * Unit test for JBREM-167.
+ * 
+ * @author <a href="ron.sigal at jboss.com">Ron Sigal</a>
+ * @version $Revision: 1.1 $
+ * <p>
+ * Copyright Mar 12, 2008
+ * </p>
+ */
+public class VersionRMIOnewayNativeMarshallerTestCase extends VersionInvokerTestCaseBase
+{
+   public void declareTestClasses()
+   {
+      addTestClasses(RMIInvokerOnewayNativeMarshallerClientTest.class.getName(),
+                     1,
+                     RMIInvokerOnewayNativeMarshallerServerTest.class.getName());
+   }
+}
\ No newline at end of file

Added: remoting2/branches/2.x/src/tests/org/jboss/test/remoting/versioning/transport/rmi/VersionRMIOnewaySerializableMarshallerTestCase.java
===================================================================
--- remoting2/branches/2.x/src/tests/org/jboss/test/remoting/versioning/transport/rmi/VersionRMIOnewaySerializableMarshallerTestCase.java	                        (rev 0)
+++ remoting2/branches/2.x/src/tests/org/jboss/test/remoting/versioning/transport/rmi/VersionRMIOnewaySerializableMarshallerTestCase.java	2008-03-20 05:44:12 UTC (rev 3669)
@@ -0,0 +1,47 @@
+/*
+* 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.versioning.transport.rmi;
+
+import org.jboss.test.remoting.transport.InvokerTestDriver;
+import org.jboss.test.remoting.transport.rmi.RMIInvokerOnewaySerializableMarshallerClientTest;
+import org.jboss.test.remoting.transport.rmi.RMIInvokerOnewaySerializableMarshallerServerTest;
+import org.jboss.test.remoting.versioning.transport.VersionInvokerTestCaseBase;
+
+/**
+ * Unit test for JBREM-167.
+ * 
+ * @author <a href="ron.sigal at jboss.com">Ron Sigal</a>
+ * @version $Revision: 1.1 $
+ * <p>
+ * Copyright Mar 12, 2008
+ * </p>
+ */
+public class VersionRMIOnewaySerializableMarshallerTestCase extends VersionInvokerTestCaseBase
+{
+   public void declareTestClasses()
+   {
+      addTestClasses(RMIInvokerOnewaySerializableMarshallerClientTest.class.getName(),
+                     1,
+                     RMIInvokerOnewaySerializableMarshallerServerTest.class.getName());
+   }
+}
\ No newline at end of file

Added: remoting2/branches/2.x/src/tests/org/jboss/test/remoting/versioning/transport/rmi/VersionRMISerializableMarshallerTestCase.java
===================================================================
--- remoting2/branches/2.x/src/tests/org/jboss/test/remoting/versioning/transport/rmi/VersionRMISerializableMarshallerTestCase.java	                        (rev 0)
+++ remoting2/branches/2.x/src/tests/org/jboss/test/remoting/versioning/transport/rmi/VersionRMISerializableMarshallerTestCase.java	2008-03-20 05:44:12 UTC (rev 3669)
@@ -0,0 +1,46 @@
+/*
+* 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.versioning.transport.rmi;
+
+import org.jboss.test.remoting.transport.InvokerTestDriver;
+import org.jboss.test.remoting.transport.rmi.RMIInvokerSerializableMarshallerClientTest;
+import org.jboss.test.remoting.transport.rmi.RMIInvokerSerializableMarshallerServerTest;
+import org.jboss.test.remoting.versioning.transport.VersionInvokerTestCaseBase;
+
+/**
+ * This should be used as the main test case for the invoker client/server.
+ * It will start one instance of the client and one of the server and will
+ * gather the test results and report them in standard JUnit format.  When
+ * wanting to run JUnit test for invoker, this is the class to use.
+ *
+ * @author <a href="mailto:telrod at e2technologies.net">Tom Elrod</a>
+ */
+public class VersionRMISerializableMarshallerTestCase extends VersionInvokerTestCaseBase
+{
+   public void declareTestClasses()
+   {
+      addTestClasses(RMIInvokerSerializableMarshallerClientTest.class.getName(),
+                     1,
+                     RMIInvokerSerializableMarshallerServerTest.class.getName());
+   }
+}
\ No newline at end of file




More information about the jboss-remoting-commits mailing list