Package mondrian.rolap
Class RolapResultTest
- java.lang.Object
-
- TestCase
-
- mondrian.test.FoodMartTestCase
-
- mondrian.rolap.BatchTestCase
-
- mondrian.test.loader.CsvDBTestCase
-
- mondrian.rolap.aggmatcher.AggTableTestCase
-
- mondrian.rolap.RolapResultTest
-
public class RolapResultTest extends AggTableTestCase
Testcase for- Since:
- Feb 21 2007
- 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 RolapResultTest()
RolapResultTest(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
_testNullDefaultMeasure()
This ought to give the same result as the above testD2() method.protected String
getCubeDescription()
protected String
getDirectoryName()
protected String
getFileName()
protected void
setUp()
protected void
tearDown()
void
testAll()
void
testD1()
void
testD2()
void
testNonAllPromotionMembers()
-
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
-
RolapResultTest
public RolapResultTest()
-
RolapResultTest
public RolapResultTest(String name)
-
-
Method Detail
-
setUp
protected void setUp() throws Exception
- Overrides:
setUp
in classAggTableTestCase
- Throws:
Exception
-
tearDown
protected void tearDown() throws Exception
- Overrides:
tearDown
in classCsvDBTestCase
- Throws:
Exception
-
_testNullDefaultMeasure
public void _testNullDefaultMeasure() throws Exception
This ought to give the same result as the above testD2() method. In this case, the FT2Extra cube has a default measure with no data (null) for all members. This default measure is used in the evaluation even though there is an implicit use of the measure [Measures].[Value].- Throws:
Exception
-
getFileName
protected String getFileName()
- Specified by:
getFileName
in classCsvDBTestCase
-
getDirectoryName
protected String getDirectoryName()
- Overrides:
getDirectoryName
in classAggTableTestCase
-
getCubeDescription
protected String getCubeDescription()
- Overrides:
getCubeDescription
in classCsvDBTestCase
-
testNonAllPromotionMembers
public void testNonAllPromotionMembers()
-
-