KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > test > jbossnet > ejbsimple > RedeployEJBEndpointTestCase


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7
8 // $Id: RedeployEJBEndpointTestCase.java,v 1.1.2.1 2004/11/05 12:55:28 tdiesler Exp $
9

10 package org.jboss.test.jbossnet.ejbsimple;
11
12 import junit.framework.Test;
13
14 /**
15  * Tests remote accessibility of stateless ejb bean after redeploy
16  * @since 11.11.2003
17  * @author <a HREF="mailto:Christoph.Jung@infor.de">Christoph G. Jung</a>
18  * @version $Revision: 1.1.2.1 $
19  */

20
21 public class RedeployEJBEndpointTestCase extends EJBEndpointTestCase
22 {
23
24    // Constructors --------------------------------------------------
25
public RedeployEJBEndpointTestCase(String JavaDoc name)
26    {
27       super(name);
28    }
29
30    /** this is to deploy the whole ear */
31    public static Test suite() throws Exception JavaDoc
32    {
33       return getDeploySetup(RedeployEJBEndpointTestCase.class, "jbossnet-ejbsimple.ear");
34    }
35
36    /** standalone */
37    public static void main(String JavaDoc[] args)
38    {
39       junit.textui.TestRunner.run(RedeployEJBEndpointTestCase.class);
40    }
41
42 }
43
Popular Tags