01: /*
02: * $Id: Test.java,v 1.1 2000/05/06 00:00:53 boisvert Exp $
03: *
04: * Package test suite
05: *
06: * Simple db toolkit
07: * Copyright (C) 1999, 2000 Cees de Groot <cg@cdegroot.com>
08: *
09: * This library is free software; you can redistribute it and/or
10: * modify it under the terms of the GNU Library General Public License
11: * as published by the Free Software Foundation; either version 2
12: * of the License, or (at your option) any later version.
13: *
14: * This library is distributed in the hope that it will be useful,
15: * but WITHOUT ANY WARRANTY; without even the implied warranty of
16: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17: * Library General Public License for more details.
18: *
19: * You should have received a copy of the GNU Library General Public License
20: * along with this library; if not, write to the Free Software Foundation,
21: * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
22: */
23: package jdbm.recman;
24:
25: import junit.framework.*;
26:
27: public class Test extends TestCase {
28:
29: public Test(String name) {
30: super (name);
31: }
32:
33: public static junit.framework.Test suite() {
34: TestSuite retval = new TestSuite();
35: retval.addTest(new TestSuite(TestBlockIo.class));
36: retval.addTest(new TestSuite(TestLocation.class));
37: retval.addTest(new TestSuite(TestFileHeader.class));
38: retval.addTest(new TestSuite(TestPhysicalRowId.class));
39: retval.addTest(new TestSuite(TestFreePhysicalRowId.class));
40: retval.addTest(new TestSuite(TestFreePhysicalRowIdPage.class));
41: retval.addTest(new TestSuite(
42: TestFreePhysicalRowIdPageManager.class));
43: retval.addTest(new TestSuite(TestFreeLogicalRowIdPage.class));
44: retval.addTest(new TestSuite(
45: TestFreeLogicalRowIdPageManager.class));
46: retval.addTest(new TestSuite(TestRecordHeader.class));
47: retval.addTest(new TestSuite(TestTransactionManager.class));
48: retval.addTest(new TestSuite(TestRecordFile.class));
49: retval.addTest(new TestSuite(TestPageHeader.class));
50: retval.addTest(new TestSuite(TestPageCursor.class));
51: retval.addTest(new TestSuite(TestPageManager.class));
52: retval.addTest(new TestSuite(TestDataPage.class));
53: retval.addTest(new TestSuite(TestPhysicalRowIdManager.class));
54: retval.addTest(new TestSuite(TestLogicalRowIdManager.class));
55: retval.addTest(new TestSuite(TestRecordManager.class));
56: return retval;
57: }
58:
59: public static void main(String[] args) {
60: junit.textui.TestRunner.run(suite());
61: }
62:
63: }
|