KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > test > jbossnet > external > RedeployExternalUnitTestCase


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

10 package org.jboss.test.jbossnet.external;
11
12 import junit.framework.Test;
13
14 /**
15  * tests connectivity to external, global web services. after redeploy
16  * @version $Rev:$
17  * @author cgjung
18  * @since 12.11.2003
19  */

20
21 public class RedeployExternalUnitTestCase extends ExternalUnitTestCase
22 {
23    // Constructors --------------------------------------------------
24
public RedeployExternalUnitTestCase(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(RedeployExternalUnitTestCase.class, "jbossnet-external.ear");
33    }
34
35    public static void main(String JavaDoc[] args)
36    {
37       junit.textui.TestRunner.run(RedeployExternalUnitTestCase.class);
38    }
39 }
40
Popular Tags