KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > xdoclet > retest > test > DeploymentDescriptorsRegressionTestCase


1 package xdoclet.retest.test;
2
3 import junit.framework.TestSuite;
4 import junit.framework.Test;
5 import xdoclet.retest.util.XMLComparator;
6 import xdoclet.retest.util.ComparisonResultSet;
7 import org.w3c.dom.Node JavaDoc;
8
9 import java.io.File JavaDoc;
10
11 /**
12  * @author Vincent Harcq (vincent.harcq@hubmethods.com)
13  * @created Mars 5, 2002
14  * @version $Revision: 1.2 $
15  */

16 public class DeploymentDescriptorsRegressionTestCase
17         extends XDocletRegressionTestCase
18 {
19
20     public DeploymentDescriptorsRegressionTestCase(String JavaDoc name)
21     {
22         super(name);
23     }
24
25     public DeploymentDescriptorsRegressionTestCase(String JavaDoc name,String JavaDoc cn)
26     {
27         super(name,cn);
28     }
29
30     /**
31      * @todo Add Weblogic, Orion, ... deployment descriptor TestCase
32      */

33     public Test getSuite()
34     {
35         TestSuite suite = new TestSuite();
36         DDEjbJarTestCase ejbtc = new DDEjbJarTestCase("ejb-jar DD",getClassName());
37         suite.addTest(ejbtc.getSuite());
38         DDJBossTestCase jbtc = new DDJBossTestCase("JBoss DD",getClassName());
39         suite.addTest(jbtc.getSuite());
40         // Add WebLogic, Orion, ...
41
return suite;
42     }
43
44 }
45
Popular Tags