mondrian.rolap.aggmatcher
Class Checkin_7641

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by mondrian.test.FoodMartTestCase
              extended by mondrian.test.loader.CsvDBTestCase
                  extended by mondrian.rolap.aggmatcher.Checkin_7641
All Implemented Interfaces:
junit.framework.Test

public class Checkin_7641
extends CsvDBTestCase

Checkin 7641 attempted to correct a problem demonstrated by this junit. The original problem involved implicit Time member usage in on axis and the use of the default Time member in the other axis. This junit defines a hierarchy Product with a default member 'Class2', The MDX in one axis explicitly uses the {Product][Class1] member. Depending upon whether the 7641 code is used or not (its use depends upon the existance of a System property) one gets different answers when the mdx is evaluated.

Author:
Richard M. Emberson

Field Summary
 
Fields inherited from class mondrian.test.FoodMartTestCase
propSaver
 
Constructor Summary
Checkin_7641()
           
Checkin_7641(String name)
           
 
Method Summary
protected  String getCubeDescription()
           
protected  String getDirectoryName()
           
protected  String getFileName()
           
protected  void setUp()
           
protected  void tearDown()
           
 void testImplicitMember()
           
 
Methods inherited from class mondrian.test.loader.CsvDBTestCase
createTestContext, getNamedSetDescription, getParameterDescription, getRoleDescription, getSchema, getSqlConnection, getTestContext, getUdfDescription, getVirtualCubeDescription, isApplicable
 
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
 

Constructor Detail

Checkin_7641

public Checkin_7641()

Checkin_7641

public Checkin_7641(String name)
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class CsvDBTestCase
Throws:
Exception

tearDown

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

testImplicitMember

public void testImplicitMember()
                        throws Exception
Throws:
Exception

getDirectoryName

protected String getDirectoryName()
Specified by:
getDirectoryName in class CsvDBTestCase

getFileName

protected String getFileName()
Specified by:
getFileName in class CsvDBTestCase

getCubeDescription

protected String getCubeDescription()
Overrides:
getCubeDescription in class CsvDBTestCase

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