Class SegmentLoaderTest


  • public class SegmentLoaderTest
    extends BatchTestCase

    Test for SegmentLoader

    Since:
    06-Jun-2007
    Author:
    Thiyagu
    • Constructor Detail

      • SegmentLoaderTest

        public SegmentLoaderTest()
    • 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 class FoodMartTestCase
        Throws:
        java.lang.Exception
      • testRollup

        public void testRollup()
                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLoadWithMockResultsForLoadingSummaryAndDetailedSegments

        public void testLoadWithMockResultsForLoadingSummaryAndDetailedSegments()
                                                                         throws java.util.concurrent.ExecutionException,
                                                                                java.lang.InterruptedException
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • testLoadWithWithNullInRollupColumn

        public void testLoadWithWithNullInRollupColumn()
                                                throws java.util.concurrent.ExecutionException,
                                                       java.lang.InterruptedException
        Tests load with mock results for loading summary and detailed segments with null in rollup column.
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • testLoadWithMockResultsForLoadingSummaryAndDetailedSegmentsUsingSparse

        public void testLoadWithMockResultsForLoadingSummaryAndDetailedSegmentsUsingSparse()
                                                                                    throws java.util.concurrent.ExecutionException,
                                                                                           java.lang.InterruptedException
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • testLoadWithMockResultsForLoadingOnlyDetailedSegments

        public void testLoadWithMockResultsForLoadingOnlyDetailedSegments()
                                                                   throws java.util.concurrent.ExecutionException,
                                                                          java.lang.InterruptedException
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • testProcessDataForGettingGroupingSetsBitKeysAndLoadingAxisValueSet

        public void testProcessDataForGettingGroupingSetsBitKeysAndLoadingAxisValueSet()
                                                                                throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • testProcessDataForSettingNullAxis

        public void testProcessDataForSettingNullAxis()
                                               throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • testProcessDataForNonGroupingSetsScenario

        public void testProcessDataForNonGroupingSetsScenario()
                                                       throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • testGetGroupingBitKey

        public void testGetGroupingBitKey()
                                   throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • testGroupingSetsUtilForMissingGroupingBitKeys

        public void testGroupingSetsUtilForMissingGroupingBitKeys()
      • testGroupingSetsUtilSetsDetailForRollupColumns

        public void testGroupingSetsUtilSetsDetailForRollupColumns()
      • testGroupingSetsUtilSetsForDetailForRollupColumns

        public void testGroupingSetsUtilSetsForDetailForRollupColumns()
      • testGroupingSetsUtilSetsForGroupingFunctionIndex

        public void testGroupingSetsUtilSetsForGroupingFunctionIndex()
      • testGetGroupingColumnsList

        public void testGetGroupingColumnsList()