KickJava   Java API By Example, From Geeks To Geeks.

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


1 package xdoclet.retest.test;
2
3 import junit.framework.TestCase;
4 import junit.framework.TestSuite;
5 import junit.framework.Test;
6
7 /**
8  * @author Vincent Harcq (vincent.harcq@hubmethods.com)
9  * @created Mars 5, 2002
10  * @version $Revision: 1.1 $
11  */

12 public abstract class XDocletRegressionTestCase
13         extends TestCase
14 {
15
16     protected String JavaDoc refBase = "xdoclet.retest.ref.ejb";
17     protected String JavaDoc genBase = "xdoclet.retest.bean.ejb";
18     protected String JavaDoc refXmlBase = "xml-ref";
19     protected String JavaDoc genXmlBase = "xml-src";
20
21     public XDocletRegressionTestCase(String JavaDoc name)
22     {
23         super(name);
24     }
25
26     public XDocletRegressionTestCase(String JavaDoc name,String JavaDoc cn)
27     {
28         super(name);
29         this.className = cn;
30     }
31
32     private String JavaDoc className;
33
34     protected String JavaDoc getClassName()
35     {
36         return className;
37     }
38
39     protected abstract Test getSuite();
40
41 }
42
Popular Tags