|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase mondrian.test.FoodMartTestCase mondrian.rolap.BatchTestCase mondrian.rolap.agg.SegmentLoaderTest
public class SegmentLoaderTest
Test for SegmentLoader
Nested Class Summary | |
---|---|
static class |
SegmentLoaderTest.MyDelegatingInvocationHandler
|
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()
|
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()
|
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 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SegmentLoaderTest()
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
protected void tearDown() throws Exception
tearDown
in class FoodMartTestCase
Exception
public void testRollup() throws Exception
Exception
public void testLoadWithMockResultsForLoadingSummaryAndDetailedSegments() throws ExecutionException, InterruptedException
ExecutionException
InterruptedException
public void testLoadWithWithNullInRollupColumn() throws ExecutionException, InterruptedException
ExecutionException
InterruptedException
public void testLoadWithMockResultsForLoadingSummaryAndDetailedSegmentsUsingSparse() throws ExecutionException, InterruptedException
ExecutionException
InterruptedException
public void testLoadWithMockResultsForLoadingOnlyDetailedSegments() throws ExecutionException, InterruptedException
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |