01: /*
02: Copyright (C) 2007 Mobixess Inc. http://www.java-objects-database.com
03:
04: This file is part of the JODB (Java Objects Database) open source project.
05:
06: JODB is free software; you can redistribute it and/or modify it under
07: the terms of version 2 of the GNU General Public License as published
08: by the Free Software Foundation.
09:
10: JODB is distributed in the hope that it will be useful, but WITHOUT ANY
11: WARRANTY; without even the implied warranty of MERCHANTABILITY or
12: FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13: for more details.
14:
15: You should have received a copy of the GNU General Public License along
16: with this program; if not, write to the Free Software Foundation, Inc.,
17: 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18: */
19: package com.mobixess.jodb.tests.junit;
20:
21: import com.mobixess.jodb.tests.IndexingTests;
22: import com.mobixess.jodb.tests.QueryTests;
23: import com.mobixess.jodb.tests.SimpleAddTest;
24: import com.mobixess.jodb.tests.clientserver.ServerClientIndexingTests;
25: import com.mobixess.jodb.tests.clientserver.ServerClientModeSimpleAddTest;
26: import com.mobixess.jodb.tests.clientserver.ServerClientQueryTest;
27:
28: import junit.framework.TestCase;
29:
30: public class MainJUnitTest extends TestCase {
31:
32: public void testBaseAddRemove() throws Exception {
33: new SimpleAddTest().main(null);
34: }
35:
36: public void testQuery() throws Exception {
37: new QueryTests().main(null);
38: }
39:
40: public void testIndex() throws Exception {
41: new IndexingTests().main(null);
42: }
43:
44: public void testServerBaseAddRemove() throws Exception {
45: new ServerClientModeSimpleAddTest().main(null);
46: }
47:
48: public void testServerQuery() throws Exception {
49: new ServerClientQueryTest().main(null);
50: }
51:
52: public void testServerIndex() throws Exception {
53: new ServerClientIndexingTests().main(null);
54: }
55: }
|