mondrian.rolap.agg
Class SegmentLoaderTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
mondrian.test.FoodMartTestCase
mondrian.rolap.BatchTestCase
mondrian.rolap.agg.SegmentLoaderTest
- All Implemented Interfaces:
- Test
public class SegmentLoaderTest
- extends BatchTestCase
Test for SegmentLoader
- Since:
- 06-Jun-2007
- Author:
- Thiyagu
| Fields inherited from class mondrian.rolap.BatchTestCase |
cubeNameSales, fieldGender, fieldProductDepartment, fieldProductFamily, fieldValueProductDepartment, fieldValuesGender, fieldValuesProductFamily, fieldValuesYear, fieldYear, measureUnitSales, tableCustomer, tableProductClass, tableTime |
| 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 |
| 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, warehouseMembersCanadaMexicoUsa |
| Methods inherited from class junit.framework.Assert |
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, failNotEquals, failNotSame, failSame |
SegmentLoaderTest
public SegmentLoaderTest()
setUp
protected void setUp()
throws Exception
- Overrides:
setUp in class TestCase
- Throws:
Exception
tearDown
protected void tearDown()
throws Exception
- Overrides:
tearDown in class FoodMartTestCase
- Throws:
Exception
testRollup
public void testRollup()
throws Exception
- Throws:
Exception
testLoadWithMockResultsForLoadingSummaryAndDetailedSegments
public void testLoadWithMockResultsForLoadingSummaryAndDetailedSegments()
throws ExecutionException,
InterruptedException
- Throws:
ExecutionException
InterruptedException
testLoadWithWithNullInRollupColumn
public void testLoadWithWithNullInRollupColumn()
throws ExecutionException,
InterruptedException
- Tests load with mock results for loading summary and detailed
segments with null in rollup column.
- Throws:
ExecutionException
InterruptedException
testLoadWithMockResultsForLoadingSummaryAndDetailedSegmentsUsingSparse
public void testLoadWithMockResultsForLoadingSummaryAndDetailedSegmentsUsingSparse()
throws ExecutionException,
InterruptedException
- Throws:
ExecutionException
InterruptedException
testLoadWithMockResultsForLoadingOnlyDetailedSegments
public void testLoadWithMockResultsForLoadingOnlyDetailedSegments()
throws ExecutionException,
InterruptedException
- Throws:
ExecutionException
InterruptedException
testProcessDataForGettingGroupingSetsBitKeysAndLoadingAxisValueSet
public void testProcessDataForGettingGroupingSetsBitKeysAndLoadingAxisValueSet()
throws SQLException
- Throws:
SQLException
testProcessDataForSettingNullAxis
public void testProcessDataForSettingNullAxis()
throws SQLException
- Throws:
SQLException
testProcessDataForNonGroupingSetsScenario
public void testProcessDataForNonGroupingSetsScenario()
throws SQLException
- Throws:
SQLException
testGetGroupingBitKey
public void testGetGroupingBitKey()
throws SQLException
- Throws:
SQLException
testGroupingSetsUtilForMissingGroupingBitKeys
public void testGroupingSetsUtilForMissingGroupingBitKeys()
testGroupingSetsUtilSetsDetailForRollupColumns
public void testGroupingSetsUtilSetsDetailForRollupColumns()
testGroupingSetsUtilSetsForDetailForRollupColumns
public void testGroupingSetsUtilSetsForDetailForRollupColumns()
testGroupingSetsUtilSetsForGroupingFunctionIndex
public void testGroupingSetsUtilSetsForGroupingFunctionIndex()
testGetGroupingColumnsList
public void testGetGroupingColumnsList()