|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase mondrian.test.FoodMartTestCase mondrian.test.CompoundSlicerTest
public class CompoundSlicerTest
Tests the expressions used for calculated members. Please keep in sync with the actual code used by the wizard.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class mondrian.test.FoodMartTestCase |
---|
FoodMartTestCase.QueryAndResult |
Field Summary |
---|
Fields inherited from class mondrian.test.FoodMartTestCase |
---|
propSaver |
Constructor Summary | |
---|---|
CompoundSlicerTest()
Creates a CompoundSlicerTest. |
|
CompoundSlicerTest(String name)
Creates a CompoundSlicerTest with a given name. |
Method Summary | |
---|---|
void |
testBugMondrian899()
Test case for Bug MONDRIAN-899, "Order() function does not work properly together with WHERE clause". |
void |
testBugMondrian900()
Test case for Bug MONDRIAN-900, "Filter() function works incorrectly together with WHERE clause". |
void |
testCompoundSlicer()
Test case for a basic query with more than one member of the same hierarchy in the WHERE clause. |
void |
testCompoundSlicerExcept()
Tests compound slicer with EXCEPT. |
void |
testCompoundSlicerOverTuples()
Tests a query with a compond slicer over tuples. |
void |
testCompoundSlicerWithDistinctCount()
Compound slicer with distinct-count measure. |
void |
testEmptySetSlicerReturnsNull()
Tests that if the slicer contains zero members, all cells are null. |
void |
testEmptySetSlicerViaExpressionReturnsNull()
Tests that if the slicer is calculated using an expression and contains zero members, all cells are null. |
void |
testRollupAvg()
Tests compound slicer, and other rollups, with AVG function. |
void |
testSimulatedCompoundSlicer()
Query that simulates a compound slicer by creating a calculated member that aggregates over a set and places it in the WHERE clause. |
void |
testSlicerContainsLiteralNull()
Slicer that is literal null. |
void |
testSlicerContainsNullMember()
Slicer that is a member expression that evaluates to null. |
void |
testSlicerContainsPartiallyNullMember()
Slicer that is a tuple and one of the members evaluates to null; that makes it a null tuple, and it is eliminated from the list. |
void |
testTopCount()
|
void |
testTopCountAllSlicers()
|
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CompoundSlicerTest()
public CompoundSlicerTest(String name)
name
- Test nameMethod Detail |
---|
public void testSimulatedCompoundSlicer()
public void testCompoundSlicerExcept()
Test case for Bug MONDRIAN-637, "Using Except in the slicer makes no sense".
public void testCompoundSlicerOverTuples()
public void testEmptySetSlicerReturnsNull()
public void testEmptySetSlicerViaExpressionReturnsNull()
public void testCompoundSlicer()
public void testSlicerContainsNullMember()
public void testSlicerContainsLiteralNull()
public void testSlicerContainsPartiallyNullMember()
public void testCompoundSlicerWithDistinctCount()
public void testRollupAvg()
Test case for Bug MONDRIAN-675, "Allow rollup of measures based on AVG aggregate function".
public void testBugMondrian899()
public void testTopCount()
public void testTopCountAllSlicers()
public void testBugMondrian900()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |