Package mondrian.rolap.agg
Class SegmentBuilderTest
- java.lang.Object
-
- TestCase
-
- mondrian.test.FoodMartTestCase
-
- mondrian.rolap.BatchTestCase
-
- mondrian.rolap.agg.SegmentBuilderTest
-
public class SegmentBuilderTest extends BatchTestCase
Test for
SegmentBuilder
.- Author:
- mcampbell
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
SegmentBuilderTest.Order
-
Nested classes/interfaces inherited from class mondrian.rolap.BatchTestCase
BatchTestCase.TestCase
-
-
Field Summary
Fields Modifier and Type Field Description static double
MOCK_CELL_VALUE
-
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
Constructors Constructor Description SegmentBuilderTest()
-
Method Summary
-
Methods inherited from class mondrian.rolap.BatchTestCase
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, mysqlPattern, sqlPattern
-
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, verifySameNativeAndNot, warehouseMembersCanadaMexicoUsa
-
-
-
-
Field Detail
-
MOCK_CELL_VALUE
public static final double MOCK_CELL_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
setUp
protected void setUp() throws java.lang.Exception
- Throws:
java.lang.Exception
-
tearDown
protected void tearDown() throws java.lang.Exception
- Overrides:
tearDown
in classFoodMartTestCase
- Throws:
java.lang.Exception
-
testRollupWithNullAxisVals
public void testRollupWithNullAxisVals()
-
testRollupWithMixOfNullAxisValues
public void testRollupWithMixOfNullAxisValues()
-
testRollup2ColumnsWithMixOfNullAxisValues
public void testRollup2ColumnsWithMixOfNullAxisValues()
-
testMultiSegRollupWithMixOfNullAxisValues
public void testMultiSegRollupWithMixOfNullAxisValues()
-
testNullMemberOffset
public void testNullMemberOffset()
-
testNullMemberOffset2ColRollup
public void testNullMemberOffset2ColRollup()
-
testSegmentBodyIterator
public void testSegmentBodyIterator()
-
testSparseRollup
public void testSparseRollup()
-
testRollupWithIntOverflowPossibility
public void testRollupWithIntOverflowPossibility()
-
testRollupWithOOMPossibility
public void testRollupWithOOMPossibility()
-
testRollupShouldBeDense
public void testRollupShouldBeDense()
-
testRollupWithDenseIntBody
public void testRollupWithDenseIntBody()
-
testOverlappingSegments
public void testOverlappingSegments()
-
testNonOverlappingRollupWithUnconstrainedColumn
public void testNonOverlappingRollupWithUnconstrainedColumn()
-
testNonOverlappingRollupWithUnconstrainedColumnAndHasNull
public void testNonOverlappingRollupWithUnconstrainedColumnAndHasNull()
-
testBadRollupCausesGreaterThan12Iterations
public void testBadRollupCausesGreaterThan12Iterations()
-
testSameRollupRegardlessOfSegmentOrderWithEmptySegmentBody
public void testSameRollupRegardlessOfSegmentOrderWithEmptySegmentBody()
-
testSameRollupRegardlessOfSegmentOrderWithData
public void testSameRollupRegardlessOfSegmentOrderWithData()
-
testSameRollupRegardlessOfSegmentOrderNoWildcards
public void testSameRollupRegardlessOfSegmentOrderNoWildcards()
-
testSameRollupRegardlessOfSegmentOrderThreeSegs
public void testSameRollupRegardlessOfSegmentOrderThreeSegs()
-
-