KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > test > jbossnet > state > RedeployStateUnitTestCase


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: RedeployStateUnitTestCase.java,v 1.1.2.1 2004/11/05 12:55:50 tdiesler Exp $
9

10 package org.jboss.test.jbossnet.state;
11
12 import junit.framework.Test;
13
14 /**
15  * Tests remote accessibility of stateful ejb bean after redeployment
16  * @since 2. Oktober 2002, 12:11
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 RedeployStateUnitTestCase extends StateUnitTestCase
22 {
23
24    // Constructors --------------------------------------------------
25
public RedeployStateUnitTestCase(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(RedeployStateUnitTestCase.class, "jbossnet-state.ear");
34    }
35
36    public static void main(String JavaDoc[] args)
37    {
38       junit.textui.TestRunner.run(RedeployStateUnitTestCase.class);
39    }
40
41 }
Popular Tags