mondrian.test
Class IgnoreUnrelatedDimensionsTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by mondrian.test.FoodMartTestCase
              extended by mondrian.test.IgnoreUnrelatedDimensionsTest
All Implemented Interfaces:
junit.framework.Test

public class IgnoreUnrelatedDimensionsTest
extends FoodMartTestCase

Test case to push unrelatedDimensions to top level when ignoreUnrelatedDimensions property is set to true on a base cube usage.

Since:
Dec 03, 2007
Author:
ajoglekar

Nested Class Summary
 
Nested classes/interfaces inherited from class mondrian.test.FoodMartTestCase
FoodMartTestCase.QueryAndResult
 
Field Summary
(package private)  boolean originalNonEmptyFlag
           
 
Fields inherited from class mondrian.test.FoodMartTestCase
propSaver
 
Constructor Summary
IgnoreUnrelatedDimensionsTest()
           
 
Method Summary
 TestContext getTestContext()
          Returns the test context.
protected  void setUp()
           
protected  void tearDown()
           
 void testAggMemberDefinedOnNonJoiningDimensionWithNonAllDefltMember()
           
 void testTotalingForValidAndNonValidMeasuresWithJoiningDimensions()
           
 void testTotalingOnCrossJoinOfJoiningAndNonJoiningDimensions()
           
 void testTotalingOnNonJoiningDimension()
           
 void testTotalingWhenIgnoreUnrelatedDimensionsPropertyIsTrue()
           
 void testUnrelatedDimPropOverridesIgnoreMeasure()
           
 void testVMShouldNotPushUpAggMemberDefinedOnNonJoiningDimension()
           
 
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, isDefaultNullMemberRepresentation, isGroupingSetsSupported, member, productMembersPotScrubbersPotsAndPans, storeMembersCAAndOR, storeMembersUsaAndCanada, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

originalNonEmptyFlag

boolean originalNonEmptyFlag
Constructor Detail

IgnoreUnrelatedDimensionsTest

public IgnoreUnrelatedDimensionsTest()
Method Detail

setUp

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

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class FoodMartTestCase
Throws:
Exception

getTestContext

public TestContext getTestContext()
Description copied from class: FoodMartTestCase
Returns the test context. Override this method if you wish to use a different source for your FoodMart connection.

Overrides:
getTestContext in class FoodMartTestCase

testTotalingOnCrossJoinOfJoiningAndNonJoiningDimensions

public void testTotalingOnCrossJoinOfJoiningAndNonJoiningDimensions()

testVMShouldNotPushUpAggMemberDefinedOnNonJoiningDimension

public void testVMShouldNotPushUpAggMemberDefinedOnNonJoiningDimension()

testAggMemberDefinedOnNonJoiningDimensionWithNonAllDefltMember

public void testAggMemberDefinedOnNonJoiningDimensionWithNonAllDefltMember()

testTotalingForValidAndNonValidMeasuresWithJoiningDimensions

public void testTotalingForValidAndNonValidMeasuresWithJoiningDimensions()

testTotalingWhenIgnoreUnrelatedDimensionsPropertyIsTrue

public void testTotalingWhenIgnoreUnrelatedDimensionsPropertyIsTrue()

testTotalingOnNonJoiningDimension

public void testTotalingOnNonJoiningDimension()

testUnrelatedDimPropOverridesIgnoreMeasure

public void testUnrelatedDimPropOverridesIgnoreMeasure()

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