[jboss-cvs] JBossAS SVN: r65871 - 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
Fri Oct 5 04:37:17 EDT 2007
Author: ALRubinger
Date: 2007-10-05 04:37:16 -0400 (Fri, 05 Oct 2007)
New Revision: 65871
Added:
trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1058/
trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1058/StatefulRemote.java
trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1058/StatefulRemoteBean.java
trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1058/unit/
Modified:
trunk/ejb3/build-test.xml
Log:
EJBTHREE-1058: Added Unit Tests
Modified: trunk/ejb3/build-test.xml
===================================================================
--- trunk/ejb3/build-test.xml 2007-10-05 07:56:31 UTC (rev 65870)
+++ trunk/ejb3/build-test.xml 2007-10-05 08:37:16 UTC (rev 65871)
@@ -2147,6 +2147,10 @@
depends="compile-classes">
<build-simple-jar name="ejbthree1040"/>
</target>
+
+ <target name="ejbthree1058" depends="compile-classes">
+ <build-simple-jar name="ejbthree1058"/>
+ </target>
<target name="jbas4489"
description="Builds a simple jar files."
@@ -3656,12 +3660,12 @@
<target name="jars" depends="defaultremotebindings, localfromremote, clusteredjms, entityoptimisticlocking, concurrentnaming, propertyreplacement, persistenceunits, appclient, tck5sec, invalidtxmdb, descriptortypo, libdeployment, homeinterface, timestampentity, arjuna, mdbtransactions, unauthenticatedprincipal, clusteredservice, invoker, classloader,
circulardependency, jsp, timerdependency, servicedependency, servlet, stateless14, webservices, ear, ejbthree440,
ejbthree454, ejbthree653, ejbthree670, ejbthree712, ejbthree724, ejbthree751,
- ejbthree785,
+ ejbthree785,
ejbthree786,
ejbthree832, ejbthree921, ejbthree936,
ejbthree939,
ejbthree953, ejbthree957, ejbthree959, ejbthree963, ejbthree967, ejbthree971, ejbthree973, ejbthree985, ejbthree986,
- ejbthree989, ejbthree1020, ejbthree1023, ejbthree1025, ejbthree1040,
+ ejbthree989, ejbthree1020, ejbthree1023, ejbthree1025, ejbthree1040, ejbthree1058,
jaxws,
aspectdomain, ejbcontext, schema, mail, scopedclassloader, dependency,
securitydomain, enventry, security5,
@@ -4610,6 +4614,9 @@
<param name="test" value="ejbthree1040"/>
</antcall>
<antcall target="test" inheritRefs="true">
+ <param name="test" value="ejbthree1058"/>
+ </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/ejbthree1058/StatefulRemote.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1058/StatefulRemote.java (rev 0)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1058/StatefulRemote.java 2007-10-05 08:37:16 UTC (rev 65871)
@@ -0,0 +1,24 @@
+/*
+ * JBoss, the OpenSource J2EE webOS
+ *
+ * Distributable under LGPL license.
+ * See terms of license at gnu.org.
+ */
+package org.jboss.ejb3.test.ejbthree1058;
+
+import javax.ejb.EJBObject;
+
+/**
+ * A StatefulRemote.
+ *
+ * @author <a href="andrew.rubinger at redhat.com">ALR</a>
+ * @version $Revision: $
+ */
+public interface StatefulRemote extends EJBObject
+{
+ public static final String JNDI_NAME_REMOTE = "StatefulBean/remote";
+
+ public static String TEST_STRING = "Test";
+
+ String test();
+}
Property changes on: trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1058/StatefulRemote.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1058/StatefulRemoteBean.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1058/StatefulRemoteBean.java (rev 0)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1058/StatefulRemoteBean.java 2007-10-05 08:37:16 UTC (rev 65871)
@@ -0,0 +1,30 @@
+/*
+ * JBoss, the OpenSource J2EE webOS
+ *
+ * Distributable under LGPL license.
+ * See terms of license at gnu.org.
+ */
+package org.jboss.ejb3.test.ejbthree1058;
+
+import javax.ejb.Remote;
+import javax.ejb.Stateful;
+
+import org.jboss.annotation.ejb.RemoteBinding;
+
+/**
+ * A StatefulRemoteBean.
+ *
+ * @author <a href="andrew.rubinger at redhat.com">ALR</a>
+ * @version $Revision: $
+ */
+ at Stateful
+ at Remote(StatefulRemote.class)
+ at RemoteBinding(jndiBinding = StatefulRemote.JNDI_NAME_REMOTE)
+public class StatefulRemoteBean
+{
+ // Required Implementations
+ public String test()
+ {
+ return StatefulRemote.TEST_STRING;
+ }
+}
Property changes on: trunk/ejb3/src/test/org/jboss/ejb3/test/ejbthree1058/StatefulRemoteBean.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
More information about the jboss-cvs-commits
mailing list