01: package simpleorm.simplewebapp.eg;
02:
03: import simpleorm.simplewebapp.eg.simple.WCrudBeanTest;
04: import simpleorm.simplewebapp.eg.simple.WListBeanTest;
05: import simpleorm.simplewebapp.eg.database.WUserTest;
06:
07: /**
08: * Created by IntelliJ IDEA.
09: * User: aberglas
10: * Date: Aug 25, 2006
11: * Time: 9:50:42 AM
12: * To change this template use File | Settings | File Templates.
13: */
14: public class WAllTests {
15:
16: static final public WGlobalTestMenus MENUS = WTestGlobals
17: .getGlobalMenus();
18:
19: //static { WTestGlobals.dummyLoadClass();}
20:
21: public static void main(String[] args) throws Exception {
22: WListBeanTest.main(args);
23: WCrudBeanTest.main(args);
24: WUserTest.main(args);
25: //WHibernateMain.main(args);
26: }
27:
28: public static void assertEquals(String expected, String actual) {
29: System.err.println(" Expected '" + expected + "' actual '"
30: + actual + "'");
31: if (expected == null ? actual != null : !expected
32: .equals(actual))
33: throw new RuntimeException("Not Equal '" + expected
34: + "' != '" + actual + "'");
35: }
36: }
|