org.eigenbase.test
Class HepPlannerTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.eigenbase.test.SqlToRelTestBase
org.eigenbase.test.RelOptTestBase
org.eigenbase.test.HepPlannerTest
- All Implemented Interfaces:
- Test
public class HepPlannerTest
- extends RelOptTestBase
HepPlannerTest is a unit test for HepPlanner
. See RelOptRulesTest
for an explanation of how to add tests; the tests in this
class are targeted at exercising the planner, and use specific rules for
convenience only, whereas the tests in that class are targeted at exercising
specific rules, and use the planner for convenience only. Hence the split.
- Version:
- $Id: //open/dev/farrago/src/org/eigenbase/test/HepPlannerTest.java#9 $
- Author:
- John V. Sichi
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
unionTree
private static final String unionTree
- See Also:
- Constant Field Values
HepPlannerTest
public HepPlannerTest()
getDiffRepos
protected DiffRepository getDiffRepos()
- Description copied from class:
SqlToRelTestBase
- Returns the default diff repository for this test, or null if there is
no repository.
The default implementation returns null.
Sub-classes that want to use a diff repository can override.
Sub-sub-classes can override again, inheriting test cases and overriding
selected test results.
And individual test cases can override by providing a different
tester object.
- Overrides:
getDiffRepos
in class SqlToRelTestBase
- Returns:
- Diff repository
testRuleClass
public void testRuleClass()
throws Exception
- Throws:
Exception
testRuleDescription
public void testRuleDescription()
throws Exception
- Throws:
Exception
testMatchLimitOneTopDown
public void testMatchLimitOneTopDown()
throws Exception
- Throws:
Exception
testMatchLimitOneBottomUp
public void testMatchLimitOneBottomUp()
throws Exception
- Throws:
Exception
testMatchUntilFixpoint
public void testMatchUntilFixpoint()
throws Exception
- Throws:
Exception
testReplaceCommonSubexpression
public void testReplaceCommonSubexpression()
throws Exception
- Throws:
Exception
testSubprogram
public void testSubprogram()
throws Exception
- Throws:
Exception
testGroup
public void testGroup()
throws Exception
- Throws:
Exception