|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
mondrian.test.FoodMartTestCase
mondrian.rolap.BatchTestCase
mondrian.rolap.VirtualCubeTest
public class VirtualCubeTest
Unit tests for virtual cubes.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class mondrian.rolap.BatchTestCase |
---|
BatchTestCase.Bomb, BatchTestCase.CellRequestConstraint, BatchTestCase.TestCase, BatchTestCase.TestListener |
Field Summary |
---|
Fields inherited from class mondrian.rolap.BatchTestCase |
---|
cubeNameSales, fieldGender, fieldProductDepartment, fieldProductFamily, fieldValueProductDepartment, fieldValuesGender, fieldValuesProductFamily, fieldValuesYear, fieldYear, measureUnitSales, tableCustomer, tableProductClass, tableTime |
Fields inherited from class mondrian.test.FoodMartTestCase |
---|
propSaver |
Constructor Summary | |
---|---|
VirtualCubeTest()
Creates an anonymous VirtualCubeTest. |
|
VirtualCubeTest(String name)
Creates a VirtualCubeTest. |
Method Summary | |
---|---|
void |
testAllMeasureMembers()
|
void |
testBugMondrian322()
Test case for bug MONDRIAN-322, "cube.getStar() throws NullPointerException". |
void |
testBugMondrian322a()
|
void |
testBugMondrian902()
Test case for bug MONDRIAN-902, "mondrian populating the same members on both axes". |
void |
testCalculatedMeasure()
|
void |
testCalculatedMeasureAcrossCubes()
Tests a calc measure which combines a measures from the Sales cube with a measures from the Warehouse cube. |
void |
testCalculatedMeasureAsDefaultMeasureInVC()
|
void |
testCalculatedMemberInSchema()
Tests a calc member defined in the cube. |
void |
testDefaultMeasureInVCForCaseSensitivity()
|
void |
testDefaultMeasureInVCForIncorrectMeasureName()
|
void |
testDefaultMeasureProperty()
|
void |
testFormatStringExpressionCubeNoCache()
Test an expression for the format_string of a calculated member that evaluates calculated members based on a virtual cube. |
void |
testLostData()
|
void |
testMemberVisibility()
|
void |
testNativeSetCaching()
Checks that native set caching considers base cubes in the cache key. |
void |
testNonDefaultAllMember()
Query a virtual cube that contains a non-conforming dimension that does not have ALL as its default member. |
void |
testNonDefaultAllMember2()
|
void |
testNonEmptyCJConstraintOnVirtualCube()
Tests that the logic to apply non empty context constraint in virtual cube is correct. |
void |
testNonEmptyConstraintOnVirtualCubeWithCalcMeasure()
Tests that the logic to apply non empty context constraint in virtual cube is correct. |
void |
testNoTimeDimension()
Test case for bug MONDRIAN-163, "VirtualCube SegmentArrayQuerySpec.addMeasure assert". |
void |
testOrdinalColumn()
Test a virtual cube where one of the dimensions contains an ordinalColumn property |
void |
testRolapCubeLevelInVirtualCube()
Test that RolapCubeLevel is used correctly in the context of virtual cube. |
void |
testVirtualCubeMeasureCaption()
Test case for bug MONDRIAN-352, "Caption is not set on RolapVirtualCubeMesure". |
void |
testVirtualCubeMeasureInvalidCubeName()
|
void |
testWithTimeDimension()
|
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 VirtualCubeTest()
public VirtualCubeTest(String name)
name
- Test case nameMethod Detail |
---|
public void testNoTimeDimension()
public void testCalculatedMeasureAsDefaultMeasureInVC()
public void testDefaultMeasureInVCForIncorrectMeasureName()
public void testVirtualCubeMeasureInvalidCubeName()
public void testDefaultMeasureInVCForCaseSensitivity()
public void testWithTimeDimension()
public void testNonDefaultAllMember()
public void testNonDefaultAllMember2()
public void testMemberVisibility()
public void testFormatStringExpressionCubeNoCache()
Since evaluation of the format_string used to happen after the aggregate cache was cleared, this used to fail, this should be solved with the caching of the format string.
Without caching of format string, the query returns green for all styles.
public void testCalculatedMeasure()
public void testLostData()
public void testCalculatedMeasureAcrossCubes()
public void testCalculatedMemberInSchema()
public void testAllMeasureMembers()
public void testOrdinalColumn()
public void testDefaultMeasureProperty()
public void testNativeSetCaching()
public void testBugMondrian322()
public void testBugMondrian322a()
public void testVirtualCubeMeasureCaption()
public void testRolapCubeLevelInVirtualCube()
public void testNonEmptyCJConstraintOnVirtualCube()
public void testNonEmptyConstraintOnVirtualCubeWithCalcMeasure()
public void testBugMondrian902()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |