public class SegmentBuilderTest extends BatchTestCase
Test for SegmentBuilder
.
Modifier and Type | Class and Description |
---|---|
(package private) static class |
SegmentBuilderTest.Order |
BatchTestCase.TestCase
Modifier and Type | Field and Description |
---|---|
static double |
MOCK_CELL_VALUE |
cubeNameSales, fieldGender, fieldProductDepartment, fieldProductFamily, fieldValueProductDepartment, fieldValuesGender, fieldValuesProductFamily, fieldValuesYear, fieldYear, measureUnitSales, tableCustomer, tableProductClass, tableTime
propSaver
Constructor and Description |
---|
SegmentBuilderTest() |
Modifier and Type | Method and Description |
---|---|
protected void |
setUp() |
protected void |
tearDown() |
void |
testBadRollupCausesGreaterThan12Iterations() |
void |
testMultiSegRollupWithMixOfNullAxisValues() |
void |
testNonOverlappingRollupWithUnconstrainedColumn() |
void |
testNonOverlappingRollupWithUnconstrainedColumnAndHasNull() |
void |
testNullMemberOffset() |
void |
testNullMemberOffset2ColRollup() |
void |
testOverlappingSegments() |
void |
testRollup2ColumnsWithMixOfNullAxisValues() |
void |
testRollupShouldBeDense() |
void |
testRollupWithIntOverflowPossibility() |
void |
testRollupWithMixOfNullAxisValues() |
void |
testRollupWithNullAxisVals() |
void |
testRollupWithOOMPossibility() |
void |
testSameRollupRegardlessOfSegmentOrderNoWildcards() |
void |
testSameRollupRegardlessOfSegmentOrderThreeSegs() |
void |
testSameRollupRegardlessOfSegmentOrderWithData() |
void |
testSameRollupRegardlessOfSegmentOrderWithEmptySegmentBody() |
void |
testSegmentBodyIterator() |
void |
testSparseRollup() |
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
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
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
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
public static final double MOCK_CELL_VALUE
protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
protected void tearDown() throws Exception
tearDown
in class FoodMartTestCase
Exception
public void testRollupWithNullAxisVals()
public void testRollupWithMixOfNullAxisValues()
public void testRollup2ColumnsWithMixOfNullAxisValues()
public void testMultiSegRollupWithMixOfNullAxisValues()
public void testNullMemberOffset()
public void testNullMemberOffset2ColRollup()
public void testSegmentBodyIterator()
public void testSparseRollup()
public void testRollupWithIntOverflowPossibility()
public void testRollupWithOOMPossibility()
public void testRollupShouldBeDense()
public void testOverlappingSegments()
public void testNonOverlappingRollupWithUnconstrainedColumn()
public void testNonOverlappingRollupWithUnconstrainedColumnAndHasNull()
public void testBadRollupCausesGreaterThan12Iterations()
public void testSameRollupRegardlessOfSegmentOrderWithEmptySegmentBody()
public void testSameRollupRegardlessOfSegmentOrderWithData()
public void testSameRollupRegardlessOfSegmentOrderNoWildcards()
public void testSameRollupRegardlessOfSegmentOrderThreeSegs()