[jboss-cvs] JBossAS SVN: r67680 - in trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1123: unit and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Nov 30 20:32:51 EST 2007


Author: ALRubinger
Date: 2007-11-30 20:32:50 -0500 (Fri, 30 Nov 2007)
New Revision: 67680

Added:
   trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1123/unit/MultipleInterfacesInInheritanceForMDBUnitTestCase.java
Removed:
   trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1123/unit/MultipleOccurancesOfSameInterfaceInInheritanceForMDBUnitTestCase.java
Modified:
   trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1123/DummyInterface.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1123/TestMDB.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1123/TestMDBBase.java
Log:
[EJBTHREE-1123] Updated naming and documentation to more clearly define nature of the test

Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1123/DummyInterface.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1123/DummyInterface.java	2007-12-01 00:54:24 UTC (rev 67679)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1123/DummyInterface.java	2007-12-01 01:32:50 UTC (rev 67680)
@@ -1,5 +1,32 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2007, 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.ejb3.test.ejbthree1123;
 
+/**
+ * Dummy Interface used as a marker only
+ * 
+ * @author <a href="mailto:andrew.rubinger at redhat.com">ALR</a>
+ * @version $Revision: $
+ */
 public interface DummyInterface
 {
 

Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1123/TestMDB.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1123/TestMDB.java	2007-12-01 00:54:24 UTC (rev 67679)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1123/TestMDB.java	2007-12-01 01:32:50 UTC (rev 67680)
@@ -27,7 +27,8 @@
 
 /**
  * Test MDB extending from a base implementing MessageListener
- * while class itself also implements MessageListener
+ * while class itself also implements MessageListener 
+ * and a Dummy Interface
  * 
  * @author <a href="mailto:andrew.rubinger at redhat.com">ALR</a>
  * @version $Revision: $

Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1123/TestMDBBase.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1123/TestMDBBase.java	2007-12-01 00:54:24 UTC (rev 67679)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1123/TestMDBBase.java	2007-12-01 01:32:50 UTC (rev 67680)
@@ -27,7 +27,7 @@
 import org.jboss.logging.Logger;
 
 /**
- * MDB Base implementing MessageListener
+ * MDB Base implementing MessageListener and a Dummy Interface
  * 
  * @author <a href="mailto:andrew.rubinger at redhat.com">ALR</a>
  * @version $Revision: $

Copied: trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1123/unit/MultipleInterfacesInInheritanceForMDBUnitTestCase.java (from rev 67678, trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1123/unit/MultipleOccurancesOfSameInterfaceInInheritanceForMDBUnitTestCase.java)
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1123/unit/MultipleInterfacesInInheritanceForMDBUnitTestCase.java	                        (rev 0)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1123/unit/MultipleInterfacesInInheritanceForMDBUnitTestCase.java	2007-12-01 01:32:50 UTC (rev 67680)
@@ -0,0 +1,59 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2007, 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.ejb3.test.ejbthree1123.unit;
+
+import junit.framework.Test;
+
+import org.jboss.test.JBossTestCase;
+
+/**
+ * Tests to ensure that an MDB with the many interfaces
+ * defined (via inheritance only) will successfully deploy
+ * 
+ * @author <a href="mailto:andrew.rubinger at redhat.com">ALR</a>
+ * @version $Revision: $
+ */
+public class MultipleInterfacesInInheritanceForMDBUnitTestCase extends JBossTestCase
+{
+   // Constructor
+   public MultipleInterfacesInInheritanceForMDBUnitTestCase(String name)
+   {
+      super(name);
+   }
+
+   // Suite
+   public static Test suite() throws Exception
+   {
+      return getDeploySetup(MultipleInterfacesInInheritanceForMDBUnitTestCase.class,
+            "ejbthree1123-service.xml, ejbthree1123.jar");
+   }
+
+   // Tests 
+
+   /**
+    * Test 
+    */
+   public void testMultipleOccurancesOfSameInterfaceInInheritanceForMDB() throws Exception
+   {
+      fail();
+   }
+}
\ No newline at end of file


Property changes on: trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1123/unit/MultipleInterfacesInInheritanceForMDBUnitTestCase.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Deleted: trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1123/unit/MultipleOccurancesOfSameInterfaceInInheritanceForMDBUnitTestCase.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1123/unit/MultipleOccurancesOfSameInterfaceInInheritanceForMDBUnitTestCase.java	2007-12-01 00:54:24 UTC (rev 67679)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1123/unit/MultipleOccurancesOfSameInterfaceInInheritanceForMDBUnitTestCase.java	2007-12-01 01:32:50 UTC (rev 67680)
@@ -1,59 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2007, 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.ejb3.test.ejbthree1123.unit;
-
-import junit.framework.Test;
-
-import org.jboss.test.JBossTestCase;
-
-/**
- * Tests to ensure that an MDB with the same interface defined 
- * many times (via inheritance) will successfully deploy
- * 
- * @author <a href="mailto:andrew.rubinger at redhat.com">ALR</a>
- * @version $Revision: $
- */
-public class MultipleOccurancesOfSameInterfaceInInheritanceForMDBUnitTestCase extends JBossTestCase
-{
-   // Constructor
-   public MultipleOccurancesOfSameInterfaceInInheritanceForMDBUnitTestCase(String name)
-   {
-      super(name);
-   }
-
-   // Suite
-   public static Test suite() throws Exception
-   {
-      return getDeploySetup(MultipleOccurancesOfSameInterfaceInInheritanceForMDBUnitTestCase.class,
-            "ejbthree1123-service.xml, ejbthree1123.jar");
-   }
-
-   // Tests 
-
-   /**
-    * Test 
-    */
-   public void testMultipleOccurancesOfSameInterfaceInInheritanceForMDB() throws Exception
-   {
-      fail();
-   }
-}
\ No newline at end of file




More information about the jboss-cvs-commits mailing list