public class RaggedHierarchyTest extends FoodMartTestCase
RaggedHierarchyTest
tests ragged hierarchies.
I have disabled some tests by prefixing the tests name with "dont_".
FoodMartTestCase.QueryAndResult
propSaver
Constructor and Description |
---|
RaggedHierarchyTest() |
Modifier and Type | Method and Description |
---|---|
void |
dont_testChildrenOfVatican() |
void |
dont_testDescendantsOfVatican() |
void |
dont_testMeasures()
disabled: (1) does not work with SmartMemberReader and (2) test returns
[null] member?
|
void |
dont_testMeasuresVatican()
Make sure that the numbers are right!
|
void |
testAncestorOfHaifa() |
void |
testChildrenOfIsrael() |
void |
testChildrenOfRoot() |
void |
testChildrenOfUSA() |
void |
testDescendantsOfRootAtCity() |
void |
testDescendantsOfVaticanAtStateLevel() |
void |
testHideIfBlankHidesWhitespace() |
void |
testHierarchize() |
void |
testLead() |
void |
testNativeCJWithHideMemberIfBlankOnLeaf() |
void |
testNativeFilterWithHideMemberIfBlankOnLeaf() |
void |
testNextMemberOfBC() |
void |
testNextMemberOfTelAviv() |
void |
testNullMember()
Test case for bug
MONDRIAN-628,
"ClassCastException in Mondrian for query using Sales Ragged cube".
|
void |
testParentOfHaifa() |
void |
testParentOfVatican() |
void |
testPrevMemberOfHaifa() |
allMember, 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, verifySameNativeAndNot, warehouseMembersCanadaMexicoUsa
public void testChildrenOfRoot()
public void testChildrenOfUSA()
public void testChildrenOfIsrael()
public void dont_testChildrenOfVatican()
public void testParentOfHaifa()
public void testParentOfVatican()
public void testPrevMemberOfHaifa()
public void testNextMemberOfTelAviv()
public void testNextMemberOfBC()
public void testLead()
public void dont_testDescendantsOfVatican()
public void testDescendantsOfVaticanAtStateLevel()
public void testDescendantsOfRootAtCity()
public void testAncestorOfHaifa()
public void testHierarchize()
public void dont_testMeasuresVatican()
The Vatican is the tricky case, because one of the columns is null, so the SQL generator might get confused.
public void dont_testMeasures()
public void testNullMember()
Cause was that ancestor yielded a null member, which was a RolapMember but Order required it to be a RolapCubeMember.
public void testHideIfBlankHidesWhitespace()
public void testNativeFilterWithHideMemberIfBlankOnLeaf() throws Exception
Exception