KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > test > jbossnet > admindevel > RedeployExampleTestCase


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

10 package org.jboss.test.jbossnet.admindevel;
11
12 import junit.framework.Test;
13 import org.jboss.test.jbossnet.ejbsimple.EJBEndpointTestCase;
14
15 /** A test for the examples from the JBoss Admin Devel book.
16  *
17  * @author Thomas.Diesler@jboss.org
18  * @version $Revision: 1.1.2.1 $
19  */

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