mondrian.rolap.agg
Class SegmentLoaderTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by mondrian.test.FoodMartTestCase
              extended by mondrian.rolap.BatchTestCase
                  extended by mondrian.rolap.agg.SegmentLoaderTest
All Implemented Interfaces:
Test

public class SegmentLoaderTest
extends BatchTestCase

Test for SegmentLoader

Since:
06-Jun-2007
Version:
$Id: //open/mondrian/testsrc/main/mondrian/rolap/agg/SegmentLoaderTest.java#12 $
Author:
Thiyagu

Nested Class Summary
 
Nested classes/interfaces inherited from class mondrian.rolap.BatchTestCase
BatchTestCase.TestCase
 
Field Summary
 
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
SegmentLoaderTest()
           
 
Method Summary
protected  void setUp()
           
 void testGetGroupingBitKey()
           
 void testGetGroupingColumnsList()
           
 void testGroupingSetsUtilForMissingGroupingBitKeys()
           
 void testGroupingSetsUtilSetsDetailForRollupColumns()
           
 void testGroupingSetsUtilSetsForDetailForRollupColumns()
           
 void testGroupingSetsUtilSetsForGroupingFunctionIndex()
           
 void testLoadWithMockResultsForLoadingOnlyDetailedSegments()
           
 void testLoadWithMockResultsForLoadingSummaryAndDetailedSegments()
           
 void testLoadWithMockResultsForLoadingSummaryAndDetailedSegmentsUsingSparse()
           
 void testLoadWithWithNullInRollupColumn()
          Tests load with mock results for loading summary and detailed segments with null in rollup column.
 void testProcessDataForGettingGroupingSetsBitKeysAndLoadingAxisValueSet()
           
 void testProcessDataForNonGroupingSetsScenario()
           
 void testProcessDataForSettingNullAxis()
           
 void testSetFailOnStillLoadingSegments()
           
 
Methods inherited from class mondrian.rolap.BatchTestCase
assertNative, assertNoQuerySql, assertNotNative, assertQuerySql, assertQuerySql, assertQuerySql, assertQuerySqlOrNot, checkNative, checkNative, checkNative, checkNotNative, checkNotNative, checkNotNative, createBatch, createBatch, 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, getTestContext, isDefaultNullMemberRepresentation, isGroupingSetsSupported, member, productMembersPotScrubbersPotsAndPans, storeMembersCAAndOR, storeMembersUsaAndCanada, tearDown, warehouseMembersCanadaMexicoUsa
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SegmentLoaderTest

public SegmentLoaderTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class TestCase
Throws:
Exception

testLoadWithMockResultsForLoadingSummaryAndDetailedSegments

public void testLoadWithMockResultsForLoadingSummaryAndDetailedSegments()

testLoadWithWithNullInRollupColumn

public void testLoadWithWithNullInRollupColumn()
Tests load with mock results for loading summary and detailed segments with null in rollup column.


testLoadWithMockResultsForLoadingSummaryAndDetailedSegmentsUsingSparse

public void testLoadWithMockResultsForLoadingSummaryAndDetailedSegmentsUsingSparse()

testLoadWithMockResultsForLoadingOnlyDetailedSegments

public void testLoadWithMockResultsForLoadingOnlyDetailedSegments()

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()

testGroupingSetsUtilForMissingGroupingBitKeys

public void testGroupingSetsUtilForMissingGroupingBitKeys()

testGroupingSetsUtilSetsDetailForRollupColumns

public void testGroupingSetsUtilSetsDetailForRollupColumns()

testGroupingSetsUtilSetsForDetailForRollupColumns

public void testGroupingSetsUtilSetsForDetailForRollupColumns()

testGroupingSetsUtilSetsForGroupingFunctionIndex

public void testGroupingSetsUtilSetsForGroupingFunctionIndex()

testGetGroupingColumnsList

public void testGetGroupingColumnsList()

testSetFailOnStillLoadingSegments

public void testSetFailOnStillLoadingSegments()

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads