public class SegmentLoaderTest extends BatchTestCase
Test for SegmentLoader
Modifier and Type | Class and Description |
---|---|
static class |
SegmentLoaderTest.MyDelegatingInvocationHandler |
BatchTestCase.TestCase
cubeNameSales, fieldGender, fieldProductDepartment, fieldProductFamily, fieldValueProductDepartment, fieldValuesGender, fieldValuesProductFamily, fieldValuesYear, fieldYear, measureUnitSales, tableCustomer, tableProductClass, tableTime
propSaver
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, sqlPattern
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
protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
protected void tearDown() throws Exception
tearDown
in class FoodMartTestCase
Exception
public 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
SQLException
public void testProcessDataForSettingNullAxis() throws SQLException
SQLException
public void testProcessDataForNonGroupingSetsScenario() throws SQLException
SQLException
public void testGetGroupingBitKey() throws SQLException
SQLException
public void testGroupingSetsUtilForMissingGroupingBitKeys()
public void testGroupingSetsUtilSetsDetailForRollupColumns()
public void testGroupingSetsUtilSetsForDetailForRollupColumns()
public void testGroupingSetsUtilSetsForGroupingFunctionIndex()
public void testGetGroupingColumnsList()