mondrian.test
Class IgnoreMeasureForNonJoiningDimensionInAggregationTest

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

public class IgnoreMeasureForNonJoiningDimensionInAggregationTest
extends FoodMartTestCase

Test ignoring of measure when unrelated Dimension is in aggregation list when IgnoreMeasureForNonJoiningDimension property is set to true.

Since:
Dec 12, 2007
Author:
ajoglekar

Nested Class Summary
 
Nested classes/interfaces inherited from class mondrian.test.FoodMartTestCase
FoodMartTestCase.QueryAndResult
 
Field Summary
 
Fields inherited from class mondrian.test.FoodMartTestCase
propSaver
 
Constructor Summary
IgnoreMeasureForNonJoiningDimensionInAggregationTest()
           
 
Method Summary
protected  void setUp()
           
 void testGetMeasureCubeForCalcMeasureDoesNotThrowCastException()
           
 void testNonJoiningDimAtMemberValueCalcMultipleScenarios()
           
 void testNonJoiningDimAtTupleValueCalcMultipleScenarios()
           
 void testNonJoiningDimForAMemberDefinedOnJoiningDim()
           
 void testNonJoiningDimsWhenAggFunctionIsUsedOrNotUsed()
           
 void testNonJoiningDimWithNumericIif()
           
 void testNoTotalForMeasureWithCrossJoinOfJoiningAndNonJoiningDims()
           
 void testNoTotalsForCompdMeasureWithComponentsHavingNonJoiningDims()
           
 void testNoTotalsForCompoundMeasureWithNonJoiningDimAtAllLevel()
           
 void testShouldNotTotalAMeasureWithANonJoiningDimension()
           
 void testShouldTotalAMeasureWithAllJoiningDimensions()
           
 
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, getTestContext, isDefaultNullMemberRepresentation, isGroupingSetsSupported, member, productMembersPotScrubbersPotsAndPans, storeMembersCAAndOR, storeMembersUsaAndCanada, tearDown, 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
 

Constructor Detail

IgnoreMeasureForNonJoiningDimensionInAggregationTest

public IgnoreMeasureForNonJoiningDimensionInAggregationTest()
Method Detail

setUp

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

testNoTotalsForCompdMeasureWithComponentsHavingNonJoiningDims

public void testNoTotalsForCompdMeasureWithComponentsHavingNonJoiningDims()

testNonJoiningDimsWhenAggFunctionIsUsedOrNotUsed

public void testNonJoiningDimsWhenAggFunctionIsUsedOrNotUsed()

testNonJoiningDimForAMemberDefinedOnJoiningDim

public void testNonJoiningDimForAMemberDefinedOnJoiningDim()

testNonJoiningDimWithNumericIif

public void testNonJoiningDimWithNumericIif()

testNonJoiningDimAtMemberValueCalcMultipleScenarios

public void testNonJoiningDimAtMemberValueCalcMultipleScenarios()

testNonJoiningDimAtTupleValueCalcMultipleScenarios

public void testNonJoiningDimAtTupleValueCalcMultipleScenarios()

testNoTotalsForCompoundMeasureWithNonJoiningDimAtAllLevel

public void testNoTotalsForCompoundMeasureWithNonJoiningDimAtAllLevel()

testNoTotalForMeasureWithCrossJoinOfJoiningAndNonJoiningDims

public void testNoTotalForMeasureWithCrossJoinOfJoiningAndNonJoiningDims()

testShouldTotalAMeasureWithAllJoiningDimensions

public void testShouldTotalAMeasureWithAllJoiningDimensions()

testShouldNotTotalAMeasureWithANonJoiningDimension

public void testShouldNotTotalAMeasureWithANonJoiningDimension()

testGetMeasureCubeForCalcMeasureDoesNotThrowCastException

public void testGetMeasureCubeForCalcMeasureDoesNotThrowCastException()

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