KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > jodd > cache > AllTests


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

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