KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > ca > jndiproviders > dsml > DsmlTestSuite


1 package com.ca.jndiproviders.dsml;
2
3 import junit.framework.*;
4
5 /**
6  * <p>A micky mouse junit test suite that runs micky mouse junit tests on the
7  * micky mouse example functionality included in the base SPML distribution.
8  * <i>However</i> this is an excellent place to extend those tests when you
9  * add real functionality.</p>
10  * @author Trudi Ersvaer.
11  */

12
13 public class DsmlTestSuite extends TestCase {
14
15     public DsmlTestSuite(String JavaDoc name)
16     {
17         super(name);
18     }
19
20
21     /**
22      * Assembles and returns a test suite
23      * containing all known tests.
24      *
25      * New tests should be added here!
26      *
27      * @return A non-null test suite.
28      */

29
30     public static Test suite()
31     {
32         TestSuite suite = new TestSuite();
33
34         // The tests...
35
suite.addTest(DsmlContextTest.suite());
36         return suite;
37     }
38
39     /**
40      * Runs the test suite.
41      */

42
43     public static void main(String JavaDoc args[])
44     {
45         junit.textui.TestRunner.run(suite());
46     }
47 }
48
49
50
51
52
Popular Tags