01: /**
02: * Copyright (C) 2006 NetMind Consulting Bt.
03: *
04: * This library is free software; you can redistribute it and/or
05: * modify it under the terms of the GNU Lesser General Public
06: * License as published by the Free Software Foundation; either
07: * version 3 of the License, or (at your option) any later version.
08: *
09: * This library is distributed in the hope that it will be useful,
10: * but WITHOUT ANY WARRANTY; without even the implied warranty of
11: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12: * Lesser General Public License for more details.
13: *
14: * You should have received a copy of the GNU Lesser General Public
15: * License along with this library; if not, write to the Free Software
16: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17: */package hu.netmind.persistence;
18:
19: import junit.framework.Test;
20: import junit.framework.TestSuite;
21: import junit.textui.TestRunner;
22: import java.util.ResourceBundle;
23:
24: /**
25: * Test the persistence framework.
26: * @author Brautigam Robert
27: * @version Revision: $Revision$
28: */
29: public class AllTests {
30: public static void main(String[] args) {
31: TestRunner runner = new TestRunner();
32: runner.setPrinter(new ANSIResultPrinter(System.out));
33: runner.doRun(suite());
34: }
35:
36: private static TestSuite suite() {
37: TestSuite suite = new TestSuite(
38: "NetMind Persistence layer test");
39: suite.addTest(new TestSuite(OverallTests.class));
40: suite.addTest(new TestSuite(SaveTests.class));
41: suite.addTest(new TestSuite(VanillaTests.class));
42: suite.addTest(new TestSuite(SelectTests.class));
43: suite.addTest(new TestSuite(ListContainerTests.class));
44: suite.addTest(new TestSuite(SetContainerTests.class));
45: suite.addTest(new TestSuite(MapContainerTests.class));
46: suite.addTest(new TestSuite(EventTests.class));
47: suite.addTest(new TestSuite(PolymorphicTests.class));
48: suite.addTest(new TestSuite(RemoveTests.class));
49: suite.addTest(new TestSuite(InternalTransactionTests.class));
50: suite.addTest(new TestSuite(TransactionTests.class));
51: suite.addTest(new TestSuite(HistoricalTests.class));
52: suite.addTest(new TestSuite(ConcurrenceTests.class));
53: suite.addTest(new TestSuite(LockTests.class));
54: suite.addTest(new TestSuite(ViewTests.class));
55: suite.addTest(new TestSuite(CacheTests.class));
56: suite.addTest(new TestSuite(DynamicObjectTests.class));
57: if (AbstractPersistenceTest.supportsMultipleStores())
58: suite.addTest(new TestSuite(NodeTests.class));
59: return suite;
60: }
61:
62: }
|