001: /*
002: * $Id: TestAll.java,v 1.28 2005/04/24 21:35:59 ahimanikya Exp $
003: * =======================================================================
004: * Copyright (c) 2002-2003 Axion Development Team. All rights reserved.
005: *
006: * Redistribution and use in source and binary forms, with or without
007: * modification, are permitted provided that the following conditions
008: * are met:
009: *
010: * 1. Redistributions of source code must retain the above
011: * copyright notice, this list of conditions and the following
012: * disclaimer.
013: *
014: * 2. Redistributions in binary form must reproduce the above copyright
015: * notice, this list of conditions and the following disclaimer in
016: * the documentation and/or other materials provided with the
017: * distribution.
018: *
019: * 3. The names "Tigris", "Axion", nor the names of its contributors may
020: * not be used to endorse or promote products derived from this
021: * software without specific prior written permission.
022: *
023: * 4. Products derived from this software may not be called "Axion", nor
024: * may "Tigris" or "Axion" appear in their names without specific prior
025: * written permission.
026: *
027: * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
028: * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
029: * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
030: * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
031: * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
032: * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
033: * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
034: * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
035: * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
036: * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
037: * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
038: * =======================================================================
039: */
040:
041: package org.axiondb;
042:
043: import junit.framework.Test;
044: import junit.framework.TestCase;
045: import junit.framework.TestSuite;
046:
047: /**
048: * Root test suite.
049: *
050: * @version $Revision: 1.28 $ $Date: 2005/04/24 21:35:59 $
051: * @author Rodney Waldhoff
052: * @author Chuck Burdick
053: */
054: public class TestAll extends TestCase {
055:
056: public TestAll(String testName) {
057: super (testName);
058: }
059:
060: public static void main(String args[]) {
061: String[] testCaseName = { TestAll.class.getName() };
062: junit.textui.TestRunner.main(testCaseName);
063: }
064:
065: public static Test suite() {
066: TestSuite suite = new TestSuite();
067: suite.addTest(TestTableIdentifier.suite());
068: suite.addTest(TestColumnIdentifier.suite());
069: suite.addTest(TestColumn.suite());
070: suite.addTest(TestLiteral.suite());
071: suite.addTest(TestSequence.suite());
072: suite.addTest(TestPersistentDatabase.suite());
073: suite.addTest(TestFunctional.suite());
074: suite.addTest(TestOrderNode.suite());
075: suite.addTest(TestBindVariable.suite());
076: suite.addTest(TestBaseSelectable.suite());
077: suite.addTest(TestSequenceEvaluator.suite());
078: suite.addTest(TestRowComparator.suite());
079:
080: suite.addTest(org.axiondb.util.TestAll.suite());
081:
082: suite.addTest(org.axiondb.constraints.TestAll.suite());
083: suite.addTest(org.axiondb.parser.TestAll.suite());
084: suite.addTest(org.axiondb.types.TestAll.suite());
085: suite.addTest(org.axiondb.jdbc.TestAll.suite());
086: suite.addTest(org.axiondb.functions.TestAll.suite());
087: suite.addTest(org.axiondb.functional.TestAll.suite());
088:
089: suite.addTest(org.axiondb.engine.TestAll.suite());
090: suite.addTest(org.axiondb.engine.commands.TestAll.suite());
091: suite.addTest(org.axiondb.engine.indexes.TestAll.suite());
092: suite.addTest(org.axiondb.engine.rowiterators.TestAll.suite());
093: suite.addTest(org.axiondb.engine.rows.TestAll.suite());
094: suite.addTest(org.axiondb.engine.tables.TestAll.suite());
095: suite.addTest(org.axiondb.engine.visitors.TestAll.suite());
096: suite.addTest(org.axiondb.event.TestAll.suite());
097:
098: // BTree tests execute very slowly if we run the util suite at this point - moved to
099: // top of order. Perhaps this is caused by memory/gc issues?
100: // suite.addTest(org.axiondb.util.TestAll.suite());
101:
102: suite.addTest(org.axiondb.tools.TestAll.suite());
103: suite.addTest(TestAxionException.suite());
104:
105: return suite;
106: }
107: }
|