01: package net.sourceforge.squirrel_sql.fw.util;
02:
03: import junit.framework.JUnit4TestAdapter;
04: import junit.framework.Test;
05: import junit.framework.TestCase;
06: import junit.framework.TestSuite;
07:
08: import org.junit.runner.RunWith;
09: import org.junit.runners.Suite;
10: import org.junit.runners.Suite.SuiteClasses;
11:
12: @RunWith(Suite.class)
13: @SuiteClasses({StringUtilitiesTest.class,DefaultExceptionFormatterTest.class,MyURLClassLoaderTest.class})
14: public class AllTests extends TestCase {
15:
16: public static Test suite() {
17: TestSuite suite = new TestSuite("framework util tests");
18: suite.addTestSuite(StringUtilitiesTest.class);
19: suite.addTestSuite(MyURLClassLoaderTest.class);
20: suite.addTest(new JUnit4TestAdapter(
21: DefaultExceptionFormatterTest.class));
22: return suite;
23: }
24:
25: }
|