KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jdesktop > swing > SwingIssues


1 /*
2  * $Id: SwingIssues.java,v 1.7 2005/02/03 13:42:26 kleopatra Exp $
3  *
4  * Copyright 2004 Sun Microsystems, Inc., 4150 Network Circle,
5  * Santa Clara, California 95054, U.S.A. All rights reserved.
6  */

7 package org.jdesktop.swing;
8 import org.jdesktop.swing.binding.BindingIssues;
9 import org.jdesktop.swing.data.DefaultTableModelExtIssues;
10 import org.jdesktop.swing.form.JFormIssues;
11 import org.jdesktop.swing.table.TableColumnModelTest;
12
13 import junit.framework.Test;
14 import junit.framework.TestSuite;
15
16 /**
17  * Collection of open swingx issues - formulated as TestCases.<p>
18  *
19  * The testcases (classes are named *Issues to not
20  * interfere with the default build) will fail until
21  * the issues are resolved. After resolving the testcases
22  * should be integrated into the corresponding
23  * "normal" tests.<p>
24  *
25  * PENDING: need ant target to run all issues...
26  * Until then this testsuite collection can be used to run all
27  * issue tests manually.
28  *
29  * @author Jeanette Winzenburg
30  */

31 public class SwingIssues {
32
33     public static Test suite() {
34         TestSuite suite = new TestSuite("JUnit Tests - Open Issues in Swing layer of JDNC");
35         suite.addTest(new TestSuite(BindingIssues.class));
36         suite.addTest(new TestSuite(JFormIssues.class));
37         suite.addTest(new TestSuite(DefaultTableModelExtIssues.class));
38         suite.addTest(new TestSuite(JXTableIssues.class));
39         suite.addTest(new TestSuite(TableColumnModelTest.class));
40
41         return suite;
42     }
43
44     // ---------------------------Main
45

46     /**
47      * manually starting a TestRunner.
48      *
49      */

50 // public static void main(String[] args) {
51
// junit.swingui.TestRunner.run(SwingTest.class);
52
// }
53

54 }
Popular Tags