KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > org > quickserver > AllJUnitTests


1 /*
2  * This file is part of the QuickServer library
3  * Copyright (C) 2003-2005 QuickServer.org
4  *
5  * Use, modification, copying and distribution of this software is subject to
6  * the terms and conditions of the GNU Lesser General Public License.
7  * You should have received a copy of the GNU LGP License along with this
8  * library; if not, you can download a copy from <http://www.quickserver.org/>.
9  *
10  * For questions, suggestions, bug-reports, enhancement-requests etc.
11  * visit http://www.quickserver.org
12  *
13  */

14
15 package test.org.quickserver;
16
17 import junit.framework.Test;
18 import junit.framework.TestCase;
19 import junit.framework.TestSuite;
20
21 import test.org.quickserver.net.server.*;
22
23 /**
24  * Simple class to build a TestSuite out of the individual test classes.
25  */

26 public class AllJUnitTests extends TestCase {
27
28     public AllJUnitTests(String JavaDoc name) {
29         super(name);
30     }
31
32     public static Test suite() {
33         TestSuite suite = new TestSuite(SkeletonTest.class);
34         //TestSuite suite = new TestSuite();
35
suite.addTest(new TestSuite(QuickServerTest.class));
36         suite.addTest(new TestSuite(SimpleServerBlockTest.class));
37         suite.addTest(new TestSuite(SimpleServerNBlockTest.class));
38         return suite;
39    }
40 }
41
Popular Tags