KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > freemarker > eclipse > test > FreeMarkerPluginTestSuite


1 package freemarker.eclipse.test;
2
3 import junit.framework.Test;
4 import junit.framework.TestSuite;
5
6 /**
7  * The test suite of the FM eclipse plug-in. Beside the eclipse classes and
8  * libs it requires the CGLIB2 lib for mock generation at runtime.
9  *
10  * @author <a HREF="mailto:stephan&#64;chaquotay.net">Stephan Mueller</a>
11  * @version $Id: FreeMarkerPluginTestSuite.java,v 1.2 2004/03/03 21:13:32 stephanmueller Exp $
12  */

13 public class FreeMarkerPluginTestSuite {
14
15     public static Test suite() {
16         TestSuite suite = new TestSuite();
17         suite.addTest(new InterpolationRuleTest("Testing InterpolationRule"));
18         suite.addTest(new DirectiveRuleTest("Testing DirectiveRule"));
19         suite.addTest(new XmlScannerTest("Testing XmlScanner"));
20         suite.addTest(new DirectiveScannerTest("Testing DirectiveScanner"));
21         suite.addTest(new PartitionScannerTest("Testing PartitionScanner"));
22         suite.setName("FreeMarkerPluginTestSuite");
23         return suite;
24     }
25
26     public static void main(String JavaDoc[] args) {
27         junit.textui.TestRunner.run(suite());
28         // junit.swingui.TestRunner.run (FreeMarkerTestSuite.class);
29
// junit.awtui.TestRunner.run (FreeMarkerTestSuite.class);
30
}
31 }
32
Popular Tags