mondrian.rolap.aggmatcher
Class Checkin_7641
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
mondrian.test.FoodMartTestCase
mondrian.test.loader.CsvDBTestCase
mondrian.rolap.aggmatcher.Checkin_7641
- All Implemented Interfaces:
- 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.
- Version:
- $Id: //open/mondrian/testsrc/main/mondrian/rolap/aggmatcher/Checkin_7641.java#10 $
- Author:
- Richard M. Emberson
Field Summary |
static java.lang.String |
PROP_NAME
|
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, getTestContext, isDefaultNullMemberRepresentation, isGroupingSetsSupported, member, productMembersPotScrubbersPotsAndPans, storeMembersCAAndOR, storeMembersUsaAndCanada, warehouseMembersCanadaMexicoUsa |
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, failNotEquals, failNotSame, failSame |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PROP_NAME
public static final java.lang.String PROP_NAME
- See Also:
- Constant Field Values
Checkin_7641
public Checkin_7641()
Checkin_7641
public Checkin_7641(java.lang.String name)
setUp
protected void setUp()
throws java.lang.Exception
- Overrides:
setUp
in class CsvDBTestCase
- Throws:
java.lang.Exception
tearDown
protected void tearDown()
throws java.lang.Exception
- Overrides:
tearDown
in class CsvDBTestCase
- Throws:
java.lang.Exception
testImplicitMember
public void testImplicitMember()
throws java.lang.Exception
- Throws:
java.lang.Exception
getDirectoryName
protected java.lang.String getDirectoryName()
- Specified by:
getDirectoryName
in class CsvDBTestCase
getFileName
protected java.lang.String getFileName()
- Specified by:
getFileName
in class CsvDBTestCase
getCubeDescription
protected java.lang.String getCubeDescription()
- Specified by:
getCubeDescription
in class CsvDBTestCase