01: package org.xorm.tests;
02:
03: import junit.framework.*;
04:
05: public class TestAll extends TestCase {
06: public static Test suite() {
07: TestSuite suite = new TestSuite();
08: suite.addTest(TestXORM.suite());
09: return suite;
10: }
11:
12: public static void main(String args[]) {
13: if (null == System.getProperty("xorm.properties")) {
14: System.setProperty("xorm.properties",
15: "/org/xorm/tests/model.properties");
16: }
17: String[] testCaseName = { TestAll.class.getName() };
18: junit.textui.TestRunner.main(testCaseName);
19: }
20: }
|