[jboss-cvs] JBossAS SVN: r74179 - in projects/ejb3/trunk/async: src/test/java/org/jboss/test/asynch and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Jun 5 17:41:12 EDT 2008


Author: ALRubinger
Date: 2008-06-05 17:41:11 -0400 (Thu, 05 Jun 2008)
New Revision: 74179

Added:
   projects/ejb3/trunk/async/src/test/java/org/jboss/test/asynch/AsynchTestCaseNotImplemented.java
Removed:
   projects/ejb3/trunk/async/src/test/java/org/jboss/test/asynch/AsynchTestCase.java
Modified:
   projects/ejb3/trunk/async/pom.xml
Log:
[EJBTHREE-1390] Updated dependencies of "async" in preparation for release

Modified: projects/ejb3/trunk/async/pom.xml
===================================================================
--- projects/ejb3/trunk/async/pom.xml	2008-06-05 21:32:18 UTC (rev 74178)
+++ projects/ejb3/trunk/async/pom.xml	2008-06-05 21:41:11 UTC (rev 74179)
@@ -4,7 +4,7 @@
   <parent>
     <groupId>org.jboss.ejb3</groupId>
     <artifactId>jboss-ejb3-build</artifactId>
-    <version>0.13.6</version>
+    <version>0.13.7</version>
     <relativePath>../build/pom.xml</relativePath>
   </parent>
 

Deleted: projects/ejb3/trunk/async/src/test/java/org/jboss/test/asynch/AsynchTestCase.java
===================================================================
--- projects/ejb3/trunk/async/src/test/java/org/jboss/test/asynch/AsynchTestCase.java	2008-06-05 21:32:18 UTC (rev 74178)
+++ projects/ejb3/trunk/async/src/test/java/org/jboss/test/asynch/AsynchTestCase.java	2008-06-05 21:41:11 UTC (rev 74179)
@@ -1,105 +0,0 @@
-/*
-* 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.asynch;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import org.jboss.aspects.asynch.AsynchProvider;
-import org.jboss.aspects.asynch.Future;
-import org.jboss.test.JBossTestCase;
-import org.jboss.util.NotImplementedException;
-
-
-/**
- * Comment
- *
- * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
- * @version $Revision$
- */
-public class AsynchTestCase
-extends JBossTestCase
-{
-   org.jboss.logging.Logger  log = getLog();
-
-   static boolean deployed = false;
-   static int test = 0;
-
-   public AsynchTestCase(String name)
-   {
-
-      super(name);
-
-   }
-
-   public void testRemote() throws Exception
-   {
-      try
-      {
-         POJO pojo = (POJO) getInitialContext().lookup("pojo");
-
-         AsynchProvider asynch = (AsynchProvider) pojo;
-         pojo.testMethod(5);
-
-         Future future = asynch.getFuture();
-         int rtn = (Integer) future.get();
-         assertEquals(rtn, 5);
-
-         pojo.testMethod("hello");
-
-         future = asynch.getFuture();
-         String srtn = (String) future.get();
-         assertEquals("hello", srtn);
-      }
-      catch (Exception e)
-      {
-         throw new RuntimeException(e);
-      }
-
-   }
-
-   public void testLocal() throws Exception
-   {
-      POJO pojo = (POJO) getInitialContext().lookup("pojo");
-
-      pojo.test();
-   }
-
-   public void testCollocated() throws Exception
-   {
-      POJO pojo = (POJO) getInitialContext().lookup("pojo");
-
-      pojo.testCollocated();
-   }
-
-   public static Test suite() throws Exception
-   {
-      TestSuite suite = new TestSuite();
-      suite.addTest(new TestSuite(AsynchTestCase.class));
-
-      //TODO Rework this dependency
-//      AOPTestSetup setup = new AOPTestSetup(suite, "asynch-test.sar");
-//      return setup;
-      throw new NotImplementedException();
-   }
-
-}

Copied: projects/ejb3/trunk/async/src/test/java/org/jboss/test/asynch/AsynchTestCaseNotImplemented.java (from rev 74153, projects/ejb3/trunk/async/src/test/java/org/jboss/test/asynch/AsynchTestCase.java)
===================================================================
--- projects/ejb3/trunk/async/src/test/java/org/jboss/test/asynch/AsynchTestCaseNotImplemented.java	                        (rev 0)
+++ projects/ejb3/trunk/async/src/test/java/org/jboss/test/asynch/AsynchTestCaseNotImplemented.java	2008-06-05 21:41:11 UTC (rev 74179)
@@ -0,0 +1,108 @@
+/*
+* 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.asynch;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+import org.jboss.aspects.asynch.AsynchProvider;
+import org.jboss.aspects.asynch.Future;
+import org.jboss.test.JBossTestCase;
+import org.jboss.util.NotImplementedException;
+
+
+/**
+ * Comment
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision$
+ */
+public class AsynchTestCaseNotImplemented
+extends JBossTestCase
+{
+   org.jboss.logging.Logger  log = getLog();
+
+   static boolean deployed = false;
+   static int test = 0;
+
+   public AsynchTestCaseNotImplemented(String name)
+   {
+
+      super(name);
+
+   }
+/**
+ Rework Dependency Below
+
+   public void testRemote() throws Exception
+   {
+      try
+      {
+         POJO pojo = (POJO) getInitialContext().lookup("pojo");
+
+         AsynchProvider asynch = (AsynchProvider) pojo;
+         pojo.testMethod(5);
+
+         Future future = asynch.getFuture();
+         int rtn = (Integer) future.get();
+         assertEquals(rtn, 5);
+
+         pojo.testMethod("hello");
+
+         future = asynch.getFuture();
+         String srtn = (String) future.get();
+         assertEquals("hello", srtn);
+      }
+      catch (Exception e)
+      {
+         throw new RuntimeException(e);
+      }
+
+   }
+
+   public void testLocal() throws Exception
+   {
+      POJO pojo = (POJO) getInitialContext().lookup("pojo");
+
+      pojo.test();
+   }
+
+   public void testCollocated() throws Exception
+   {
+      POJO pojo = (POJO) getInitialContext().lookup("pojo");
+
+      pojo.testCollocated();
+   }
+
+   public static Test suite() throws Exception
+   {
+      TestSuite suite = new TestSuite();
+      suite.addTest(new TestSuite(AsynchTestCase.class));
+
+      //TODO Rework this dependency
+//      AOPTestSetup setup = new AOPTestSetup(suite, "asynch-test.sar");
+//      return setup;
+      throw new NotImplementedException();
+   }
+
+*/
+}




More information about the jboss-cvs-commits mailing list