Package mondrian.rolap.aggmatcher
Class AggTableTestCase
- java.lang.Object
-
- TestCase
-
- mondrian.test.FoodMartTestCase
-
- mondrian.rolap.BatchTestCase
-
- mondrian.test.loader.CsvDBTestCase
-
- mondrian.rolap.aggmatcher.AggTableTestCase
-
- Direct Known Subclasses:
AggregationOverAggTableTest
,BUG_1541077
,ExplicitRecognizerTest
,MultipleColsInTupleAggTest
,NonCollapsedAggTest
,RolapResultTest
,SpeciesNonCollapsedAggTest
,UsagePrefixTest
public abstract class AggTableTestCase extends CsvDBTestCase
This abstract class can be used as the basis for writing aggregate table test in the "testsrc/main/mondrian/rolap/aggmatcher" directory. Taken care of is the setting of the Caching and Aggregate Read/Use properties and the reloading of the aggregate tables after the CSV tables are loaded. The particular cube definition and CSV file to use are abstract methods.- 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 AggTableTestCase()
AggTableTestCase(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getDirectoryName()
protected void
setUp()
-
Methods inherited from class mondrian.test.loader.CsvDBTestCase
createTestContext, getCubeDescription, getFileName, getNamedSetDescription, getParameterDescription, getRoleDescription, getSchema, getSqlConnection, getTestContext, getUdfDescription, getVirtualCubeDescription, isApplicable, tearDown
-
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 classCsvDBTestCase
- Throws:
java.lang.Exception
-
getDirectoryName
protected java.lang.String getDirectoryName()
- Specified by:
getDirectoryName
in classCsvDBTestCase
-
-