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 StringgetCubeDescription()protected StringgetDirectoryName()protected StringgetFileName()protected voidsetUp()protected voidtearDown()voidtestAll()voidtestD1()voidtestD2()voidtestNonAllPromotionMembers()-
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:
setUpin classAggTableTestCase- Throws:
Exception
-
tearDown
protected void tearDown() throws Exception- Overrides:
tearDownin classCsvDBTestCase- Throws:
Exception
-
_testNullDefaultMeasure
public void _testNullDefaultMeasure() throws ExceptionThis 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:
getFileNamein classCsvDBTestCase
-
getDirectoryName
protected String getDirectoryName()
- Overrides:
getDirectoryNamein classAggTableTestCase
-
getCubeDescription
protected String getCubeDescription()
- Overrides:
getCubeDescriptionin classCsvDBTestCase
-
testNonAllPromotionMembers
public void testNonAllPromotionMembers()
-
-