[jboss-cvs] JBossAS SVN: r78694 - projects/ejb3/trunk/proxy/src/test/java/org/jboss/ejb3/test/proxy/remoteaccess/unit.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Sep 19 03:06:52 EDT 2008


Author: ALRubinger
Date: 2008-09-19 03:06:52 -0400 (Fri, 19 Sep 2008)
New Revision: 78694

Modified:
   projects/ejb3/trunk/proxy/src/test/java/org/jboss/ejb3/test/proxy/remoteaccess/unit/RemoteAccessTestCase.java
Log:
[EJBTHREE-1493] Remove Unit Tests, this feature will not be supported in favor of a fail-fast

Modified: projects/ejb3/trunk/proxy/src/test/java/org/jboss/ejb3/test/proxy/remoteaccess/unit/RemoteAccessTestCase.java
===================================================================
--- projects/ejb3/trunk/proxy/src/test/java/org/jboss/ejb3/test/proxy/remoteaccess/unit/RemoteAccessTestCase.java	2008-09-19 07:03:19 UTC (rev 78693)
+++ projects/ejb3/trunk/proxy/src/test/java/org/jboss/ejb3/test/proxy/remoteaccess/unit/RemoteAccessTestCase.java	2008-09-19 07:06:52 UTC (rev 78694)
@@ -162,25 +162,6 @@
       assertEquals(result, 1);
    }
 
-   /**
-    * Ensures that a SLSB Local Proxy may be looked up from a Remote Host.
-    * Invocation, however, is not tested (as this is expected to fail)
-    */
-   @Test
-   public void testStatelessLocalProxyLookupFromRemoteHost() throws Throwable
-   {
-      // Lookup 
-      Object bean = RemoteAccessTestCase.getContext().lookup(JNDI_NAME_SLSB_LOCAL);
-
-      // Ensure not null
-      assertNotNull("Local Proxy obtained from remote host is null", bean);
-
-      // Ensure correct type
-      assertTrue("Bean was not of expected type " + MyStatelessRemote.class.getName() + " but was instead " + bean,
-            bean instanceof MyStatelessRemote);
-
-   }
-
    // --------------------------------------------------------------------------------||
    // Lifecycle Methods --------------------------------------------------------------||
    // --------------------------------------------------------------------------------||




More information about the jboss-cvs-commits mailing list