public class VirtualCubeTest extends BatchTestCase
BatchTestCase.Bomb, BatchTestCase.CellRequestConstraint, BatchTestCase.TestCase, BatchTestCase.TestListenercubeNameSales, fieldGender, fieldProductDepartment, fieldProductFamily, fieldValueProductDepartment, fieldValuesGender, fieldValuesProductFamily, fieldValuesYear, fieldYear, measureUnitSales, tableCustomer, tableProductClass, tableTimepropSaver| Constructor and Description | 
|---|
| VirtualCubeTest()Creates an anonymous VirtualCubeTest. | 
| VirtualCubeTest(String name)Creates a VirtualCubeTest. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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() | 
assertNative, assertNoQuerySql, assertNotNative, assertQuerySql, assertQuerySql, assertQuerySql, assertQuerySqlOrNot, assertRequestSql, assertRequestSql, checkNative, checkNative, checkNative, checkNotNative, checkNotNative, checkNotNative, createBatch, createBatch, createRequest, createRequest, createRequest, createRequest, dialectize, executeQuery, getCube, getFoodMartConnection, getGroupingSet, getMeasure, getRegistry, makeConstraintCountryState, makeConstraintProductFamilyDepartment, makeConstraintYearQuarterMonthallMember, assertAxisReturns, assertAxisThrows, assertBooleanExprReturns, assertExprReturns, assertExprThrows, assertQueriesReturnSimilarResults, assertQueryReturns, assertQueryThrows, assertSize, cubeByName, execute, executeExpr, executeQuery, executeSingletonAxis, genderMembersIncludingAll, getConnection, getDimensionWithName, getTestContext, isDefaultNullMemberRepresentation, isGroupingSetsSupported, member, productMembersPotScrubbersPotsAndPans, storeMembersCAAndOR, storeMembersUsaAndCanada, tearDown, warehouseMembersCanadaMexicoUsacountTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, toStringassertEquals, 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, failpublic VirtualCubeTest()
public VirtualCubeTest(String name)
name - Test case namepublic 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()