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