[jboss-cvs] JBossAS SVN: r68160 - in trunk/ejb3: src/test/org/jboss/ejb3/test and 1 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Dec 11 18:24:21 EST 2007


Author: ALRubinger
Date: 2007-12-11 18:24:21 -0500 (Tue, 11 Dec 2007)
New Revision: 68160

Added:
   trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1157/
   trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1157/TestHome.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1157/TestRemote.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1157/TestStatefulBean.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1157/TestStatelessBean.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1157/unit/
Modified:
   trunk/ejb3/build-test.xml
Log:
[EJBTHREE-1157] Added Unit Tests

Modified: trunk/ejb3/build-test.xml
===================================================================
--- trunk/ejb3/build-test.xml	2007-12-11 22:58:23 UTC (rev 68159)
+++ trunk/ejb3/build-test.xml	2007-12-11 23:24:21 UTC (rev 68160)
@@ -2253,6 +2253,10 @@
    <target name="ejbthree1156" depends="compile-classes">
       <build-simple-jar name="ejbthree1156"/>
    </target>
+	
+   <target name="ejbthree1157" depends="compile-classes">
+      <build-simple-jar name="ejbthree1157"/>
+   </target>
 
    <target name="jbas4489"
       description="Builds a simple jar files."
@@ -3874,7 +3878,7 @@
       ejbthree1057, ejbthree1060,
       ejbthree1062,
       ejbthree1066, ejbthree1071, ejbthree1075, ejbthree1082, ejbthree1090, ejbthree1092, ejbthree1119, ejbthree1122, ejbthree1123, ejbthree1127,
-      ejbthree1146, ejbthree1154, ejbthree1155, ejbthree1156, jaxws, jbas4489,
+      ejbthree1146, ejbthree1154, ejbthree1155, ejbthree1156, ejbthree1157, jaxws, jbas4489,
       aspectdomain, ejbcontext, schema, mail, scopedclassloader, dependency,
       securitydomain, enventry, security5,
       jms/managed, naming, bmt, jca/inflowmdb, pool, jms, security, reference21_30, factory, dd/web, txexceptions,
@@ -4881,6 +4885,9 @@
          <param name="test" value="ejbthree1156"/>
       </antcall>
       <antcall target="test" inheritRefs="true">
+         <param name="test" value="ejbthree1157"/>
+      </antcall>
+      <antcall target="test" inheritRefs="true">
          <param name="test" value="statelesscreation"/>
       </antcall>
       <antcall target="test" inheritRefs="true">

Added: trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1157/TestHome.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1157/TestHome.java	                        (rev 0)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1157/TestHome.java	2007-12-11 23:24:21 UTC (rev 68160)
@@ -0,0 +1,39 @@
+/*
+ * 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.ejbthree1157;
+
+import javax.ejb.EJBHome;
+
+/**
+ * An EJB 2.1 Home Interface
+ * 
+ * @author <a href="mailto:andrew.rubinger at redhat.com">ALR</a>
+ * @version $Revision: $
+ */
+public interface TestHome extends EJBHome
+{
+   String JNDI_NAME_STATEFUL = "TestStatefulBean/home";
+   
+   String JNDI_NAME_STATELESS = "TestStatelessBean/home";
+   
+   // Defines no create methods
+}


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

Added: trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1157/TestRemote.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1157/TestRemote.java	                        (rev 0)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1157/TestRemote.java	2007-12-11 23:24:21 UTC (rev 68160)
@@ -0,0 +1,35 @@
+/*
+ * 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.ejbthree1157;
+
+import javax.ejb.EJBObject;
+
+/**
+ * An EJB 2.1 Test Remote Interface
+ * 
+ * @author <a href="mailto:andrew.rubinger at redhat.com">ALR</a>
+ * @version $Revision: $
+ */
+public interface TestRemote extends EJBObject
+{
+
+}


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

Added: trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1157/TestStatefulBean.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1157/TestStatefulBean.java	                        (rev 0)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1157/TestStatefulBean.java	2007-12-11 23:24:21 UTC (rev 68160)
@@ -0,0 +1,41 @@
+/*
+ * 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.ejbthree1157;
+
+import javax.ejb.RemoteHome;
+import javax.ejb.Stateful;
+
+import org.jboss.ejb3.annotation.RemoteHomeBinding;
+
+/**
+ * A Test Stateful EJB with a Home defining no create methods 
+ * 
+ * @author <a href="mailto:andrew.rubinger at redhat.com">ALR</a>
+ * @version $Revision: $
+ */
+ at Stateful
+ at RemoteHome(TestHome.class)
+ at RemoteHomeBinding(jndiBinding = TestHome.JNDI_NAME_STATEFUL)
+public class TestStatefulBean
+{
+
+}


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

Added: trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1157/TestStatelessBean.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1157/TestStatelessBean.java	                        (rev 0)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1157/TestStatelessBean.java	2007-12-11 23:24:21 UTC (rev 68160)
@@ -0,0 +1,41 @@
+/*
+ * 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.ejbthree1157;
+
+import javax.ejb.RemoteHome;
+import javax.ejb.Stateless;
+
+import org.jboss.ejb3.annotation.RemoteHomeBinding;
+
+/**
+ * A Test Stateless EJB with a Home defining no create methods 
+ * 
+ * @author <a href="mailto:andrew.rubinger at redhat.com">ALR</a>
+ * @version $Revision: $
+ */
+ at Stateless
+ at RemoteHome(TestHome.class)
+ at RemoteHomeBinding(jndiBinding = TestHome.JNDI_NAME_STATELESS)
+public class TestStatelessBean
+{
+
+}


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




More information about the jboss-cvs-commits mailing list