public class SegmentLoaderTest extends BatchTestCase
Test for SegmentLoader
| Modifier and Type | Class and Description |
|---|---|
static class |
SegmentLoaderTest.MyDelegatingInvocationHandler |
BatchTestCase.TestCasecubeNameSales, fieldGender, fieldProductDepartment, fieldProductFamily, fieldValueProductDepartment, fieldValuesGender, fieldValuesProductFamily, fieldValuesYear, fieldYear, measureUnitSales, tableCustomer, tableProductClass, tableTimepropSaver| Constructor and Description |
|---|
SegmentLoaderTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp() |
protected void |
tearDown() |
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 |
testRollup() |
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, sqlPatternallMember, 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, warehouseMembersCanadaMexicoUsacountTestCases, createResult, getName, run, run, runBare, runTest, setName, toStringassertEquals, 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, failprotected void setUp()
throws Exception
setUp in class junit.framework.TestCaseExceptionprotected void tearDown()
throws Exception
tearDown in class FoodMartTestCaseExceptionpublic void testLoadWithMockResultsForLoadingSummaryAndDetailedSegments()
throws ExecutionException,
InterruptedException
public void testLoadWithWithNullInRollupColumn()
throws ExecutionException,
InterruptedException
public void testLoadWithMockResultsForLoadingSummaryAndDetailedSegmentsUsingSparse()
throws ExecutionException,
InterruptedException
public void testLoadWithMockResultsForLoadingOnlyDetailedSegments()
throws ExecutionException,
InterruptedException
public void testProcessDataForGettingGroupingSetsBitKeysAndLoadingAxisValueSet()
throws SQLException
SQLExceptionpublic void testProcessDataForSettingNullAxis()
throws SQLException
SQLExceptionpublic void testProcessDataForNonGroupingSetsScenario()
throws SQLException
SQLExceptionpublic void testGetGroupingBitKey()
throws SQLException
SQLExceptionpublic void testGroupingSetsUtilForMissingGroupingBitKeys()
public void testGroupingSetsUtilSetsDetailForRollupColumns()
public void testGroupingSetsUtilSetsForDetailForRollupColumns()
public void testGroupingSetsUtilSetsForGroupingFunctionIndex()
public void testGetGroupingColumnsList()