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(java.lang.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 java.lang.String
getCubeDescription()
protected java.lang.String
getDirectoryName()
protected java.lang.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
-
-
-
-
Method Detail
-
setUp
protected void setUp() throws java.lang.Exception
- Overrides:
setUp
in classAggTableTestCase
- Throws:
java.lang.Exception
-
tearDown
protected void tearDown() throws java.lang.Exception
- Overrides:
tearDown
in classCsvDBTestCase
- Throws:
java.lang.Exception
-
testAll
public void testAll() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testD1
public void testD1() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testD2
public void testD2() throws java.lang.Exception
- Throws:
java.lang.Exception
-
_testNullDefaultMeasure
public void _testNullDefaultMeasure() throws java.lang.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:
java.lang.Exception
-
getFileName
protected java.lang.String getFileName()
- Specified by:
getFileName
in classCsvDBTestCase
-
getDirectoryName
protected java.lang.String getDirectoryName()
- Overrides:
getDirectoryName
in classAggTableTestCase
-
getCubeDescription
protected java.lang.String getCubeDescription()
- Overrides:
getCubeDescription
in classCsvDBTestCase
-
testNonAllPromotionMembers
public void testNonAllPromotionMembers()
-
-