Package mondrian.rolap.aggmatcher
Class Checkin_7641
- java.lang.Object
-
- TestCase
-
- mondrian.test.FoodMartTestCase
-
- mondrian.rolap.BatchTestCase
-
- mondrian.test.loader.CsvDBTestCase
-
- mondrian.rolap.aggmatcher.Checkin_7641
-
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
-
-
Nested Class Summary
-
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
Constructors Constructor Description Checkin_7641()
Checkin_7641(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.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, mysqlPattern, sqlPattern
-
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, verifySameNativeAndNot, warehouseMembersCanadaMexicoUsa
-
-
-
-
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 classCsvDBTestCase
- Throws:
Exception
-
tearDown
protected void tearDown() throws Exception
- Overrides:
tearDown
in classCsvDBTestCase
- Throws:
Exception
-
getDirectoryName
protected String getDirectoryName()
- Specified by:
getDirectoryName
in classCsvDBTestCase
-
getFileName
protected String getFileName()
- Specified by:
getFileName
in classCsvDBTestCase
-
getCubeDescription
protected String getCubeDescription()
- Overrides:
getCubeDescription
in classCsvDBTestCase
-
-