01: package org.acm.seguin.junit;
02:
03: import junit.framework.TestCase;
04: import java.io.File;
05:
06: /**
07: * The original unit tests had the name of the directory
08: * that I created to store the unit tests hard coded into
09: * them. While I continue to hard code the names of the
10: * directories into a source file, it is now located in
11: * this single directory.
12: *
13: *@author Chris Seguin
14: */
15: public class DirSourceTestCase extends TestCase {
16: /**
17: * The name of the root directory for tests to occur
18: */
19: protected String root = "./test/root";
20: /**
21: * The name of the unmodified source code
22: */
23: protected String clean = "./test/clean";
24: /**
25: * The name of the directory that contains the "correct" source code
26: */
27: protected String check = "./test/check";
28:
29: /**
30: * Constructor for the TestCase object
31: *
32: *@param name Description of Parameter
33: */
34: public DirSourceTestCase(String name) {
35: super(name);
36: }
37: }
|