KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > ca > directory > jxplorer > viewer > tableviewer > TableViewerTestSuite


1 /**
2  * This suite runs all the tests for
3  * the different TableViewer classes.
4  * Author: Chris Betts
5  * Date: 15/05/2002 / 16:35:24
6  */

7
8 package com.ca.directory.jxplorer.viewer.tableviewer;
9
10 import junit.framework.*;
11 import com.ca.commons.naming.*;
12 import junit.framework.*;
13
14
15
16 public class TableViewerTestSuite extends TestCase
17 {
18     public TableViewerTestSuite(String JavaDoc name)
19     {
20         super(name);
21     }
22
23
24     /**
25      * Assembles and returns a test suite
26      * containing all known tests.
27      *
28      * New tests should be added here!
29      *
30      * @return A non-null test suite.
31      */

32
33     public static Test suite()
34     {
35         TestSuite suite = new TestSuite();
36
37         // The tests...
38
suite.addTest(AttributeTableModelTest.suite());
39
40         return suite;
41     }
42
43     /**
44      * Runs the test suite.
45      */

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