001: /*
002: * $Id: TestAll.java,v 1.26 2005/04/24 21:35:59 ahimanikya Exp $
003: * =======================================================================
004: * Copyright (c) 2002-2005 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.engine.rowiterators;
042:
043: import junit.framework.Test;
044: import junit.framework.TestCase;
045: import junit.framework.TestSuite;
046:
047: /**
048: * @version $Revision: 1.26 $ $Date: 2005/04/24 21:35:59 $
049: */
050: public class TestAll extends TestCase {
051:
052: public TestAll(String testName) {
053: super (testName);
054: }
055:
056: public static void main(String args[]) {
057: String[] testCaseName = { TestAll.class.getName() };
058: junit.textui.TestRunner.main(testCaseName);
059: }
060:
061: public static Test suite() {
062: TestSuite suite = new TestSuite();
063: suite.addTest(TestIntRowMapValuesRowIterator.suite());
064: suite.addTest(TestFilteringRowIterator.suite());
065: suite.addTest(TestListIteratorRowIterator.suite());
066: suite.addTest(TestListRowIterator.suite());
067: suite.addTest(TestChainedRowIterator.suite());
068: suite.addTest(TestCollatingRowIterator.suite());
069: suite.addTest(TestSingleRowIterator.suite());
070: suite.addTest(TestEmptyRowIterator.suite());
071: suite.addTest(TestUnmodifiableRowIterator.suite());
072: suite.addTest(TestTransformingRowIterator.suite());
073: suite.addTest(TestLimitingRowIterator.suite());
074: suite.addTest(TestLazyRowRowIterator.suite());
075: suite.addTest(TestGroupedRowIterator.suite());
076: suite.addTest(TestDistinctRowIterator.suite());
077: suite.addTest(TestSortedRowIterator.suite());
078: suite.addTest(TestMutableSortedRowIterator.suite());
079: suite.addTest(TestReverseSortedRowIterator.suite());
080: suite.addTest(TestRowViewRowIterator.suite());
081:
082: suite.addTest(TestDelegatingRowIterator.suite());
083: suite.addTest(TestRowIteratorRowDecoratorIterator.suite());
084: suite.addTest(TestFilteringChangingIndexedRowIterator.suite());
085: suite.addTest(TestRebindableIndexedRowIterator.suite());
086:
087: suite.addTest(TestChangingIndexedRowIterator.suite());
088: suite.addTest(TestJoinRowIterator.suite());
089:
090: suite
091: .addTest(TestIndexNestedLoopJoinedRowIterator_InnerJoinCase
092: .suite());
093: suite
094: .addTest(TestIndexNestedLoopJoinedRowIterator_LeftOuterJoinCase
095: .suite());
096: suite
097: .addTest(TestIndexNestedLoopJoinedRowIterator_OuterJoinWithAdditionalCriteriaCase
098: .suite());
099: suite
100: .addTest(TestIndexNestedLoopJoinedRowIterator_RightOuterJoinCase
101: .suite());
102: suite.addTest(TestNestedLoopJoinedRowIterator.suite());
103: suite.addTest(TestNestedLoopJoinedRowIterator_CrossProductCase
104: .suite());
105: suite
106: .addTest(TestNestedLoopJoinedRowIterator_IndexedCrossProductCase
107: .suite());
108: suite
109: .addTest(TestNestedLoopJoinedRowIterator_IndexedInnerJoinCase
110: .suite());
111: suite
112: .addTest(TestNestedLoopJoinedRowIterator_IndexedLeftOuterJoinCase
113: .suite());
114: suite
115: .addTest(TestNestedLoopJoinedRowIterator_IndexedRightOuterJoinCase
116: .suite());
117: suite.addTest(TestNestedLoopJoinedRowIterator_InnerJoinCase
118: .suite());
119: suite
120: .addTest(TestNestedLoopJoinedRowIterator_LeftOuterJoinCase1
121: .suite());
122: suite
123: .addTest(TestNestedLoopJoinedRowIterator_LeftOuterJoinCase2
124: .suite());
125: suite
126: .addTest(TestNestedLoopJoinedRowIterator_RightOuterJoinCase
127: .suite());
128: return suite;
129: }
130: }
|