1 5 package com.opensymphony.oscache.base; 6 7 import com.opensymphony.oscache.base.algorithm.TestCompleteAlgorithm; 8 import com.opensymphony.oscache.base.events.TestCompleteEvents; 9 import com.opensymphony.oscache.util.TestFastCronParser; 10 11 import junit.framework.Test; 12 import junit.framework.TestCase; 13 import junit.framework.TestSuite; 14 15 23 public final class TestCompleteBase extends TestCase { 24 27 public TestCompleteBase(String str) { 28 super(str); 29 } 30 31 36 public static void main(String [] args) { 37 junit.swingui.TestRunner testRunner = new junit.swingui.TestRunner(); 39 testRunner.setLoading(false); 40 41 String [] args2 = {TestCompleteBase.class.getName()}; 42 testRunner.start(args2); 43 } 44 45 50 public static Test suite() { 51 TestSuite suite = new TestSuite("Test all base cache modules"); 53 suite.addTest(TestFastCronParser.suite()); 54 suite.addTest(TestCacheEntry.suite()); 55 suite.addTest(TestCache.suite()); 56 suite.addTest(TestConcurrency.suite()); 57 suite.addTest(TestCompleteAlgorithm.suite()); 58 suite.addTest(TestCompleteEvents.suite()); 59 60 return suite; 61 } 62 } 63 | Popular Tags |