KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > jodd > io > AllTests


1 // Copyright (c) 2003-2007, Jodd Team (jodd.sf.net). All Rights Reserved.
2

3 package jodd.io;
4
5 import junit.framework.Test;
6 import junit.framework.TestSuite;
7
8 public class AllTests extends TestSuite {
9
10     public AllTests() {
11         super("jodd.io test suite");
12         addTestSuite(StreamUtilTest.class);
13         addTestSuite(FileUtilTest.class);
14     }
15
16     public static Test suite() {
17         return new AllTests();
18     }
19
20     public static void main(String JavaDoc[] args) {
21         junit.textui.TestRunner.run(suite());
22     }
23 }
Popular Tags