KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > tests > jfun > yan > Utils


1 /*
2  * Created on Apr 5, 2005
3  *
4  * Author Ben Yu
5  * ZBS
6  */

7 package tests.jfun.yan;
8 import junit.framework.TestSuite;
9 /**
10  * Zephyr Business Solution
11  *
12  * @author Ben Yu
13  *
14  */

15 public class Utils {
16   public static void runTest(TestSuite suite){
17     try{
18       junit.textui.TestRunner.run(suite);
19     }
20     catch(jfun.yan.YanException e){
21       e.printResolutionTrace(System.err);
22       throw e;
23     }
24   }
25 }
26
Popular Tags