Package mondrian.rolap.aggmatcher
Class ExplicitRecognizerTest
- java.lang.Object
-
- TestCase
-
- mondrian.test.FoodMartTestCase
-
- mondrian.rolap.BatchTestCase
-
- mondrian.test.loader.CsvDBTestCase
-
- mondrian.rolap.aggmatcher.AggTableTestCase
-
- mondrian.rolap.aggmatcher.ExplicitRecognizerTest
-
public class ExplicitRecognizerTest extends AggTableTestCase
-
-
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 ExplicitRecognizerTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TestContext
createTestContext()
protected java.lang.String
getFileName()
protected void
setUp()
(package private) static TestContext
setupMultiColDimCube(java.lang.String aggName, java.lang.String yearCols, java.lang.String qtrCols, java.lang.String monthCols, java.lang.String monthProp)
(package private) static TestContext
setupMultiColDimCube(java.lang.String aggName, java.lang.String yearCols, java.lang.String qtrCols, java.lang.String monthCols, java.lang.String monthProp, java.lang.String defaultMeasure)
void
testCountDisallowedRollup()
void
testCountDistinctAllowableRollup()
void
testExplicitAggCaptionOnAggTable()
void
testExplicitAggExtraColsRequiringJoin()
void
testExplicitAggNameColumnOnAggTable()
void
testExplicitAggOrdinalOnAggTable()
void
testExplicitAggPropertiesOnAggTable()
void
testExplicitForeignKey()
-
Methods inherited from class mondrian.rolap.aggmatcher.AggTableTestCase
getDirectoryName
-
Methods inherited from class mondrian.test.loader.CsvDBTestCase
getCubeDescription, 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 classAggTableTestCase
- Throws:
java.lang.Exception
-
getFileName
protected java.lang.String getFileName()
- Specified by:
getFileName
in classCsvDBTestCase
-
createTestContext
protected TestContext createTestContext()
- Overrides:
createTestContext
in classCsvDBTestCase
-
testExplicitAggExtraColsRequiringJoin
public void testExplicitAggExtraColsRequiringJoin() throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
testExplicitForeignKey
public void testExplicitForeignKey()
-
testExplicitAggOrdinalOnAggTable
public void testExplicitAggOrdinalOnAggTable() throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
testExplicitAggCaptionOnAggTable
public void testExplicitAggCaptionOnAggTable() throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
testExplicitAggNameColumnOnAggTable
public void testExplicitAggNameColumnOnAggTable() throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
testExplicitAggPropertiesOnAggTable
public void testExplicitAggPropertiesOnAggTable() throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
testCountDistinctAllowableRollup
public void testCountDistinctAllowableRollup() throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
testCountDisallowedRollup
public void testCountDisallowedRollup() throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
setupMultiColDimCube
static TestContext setupMultiColDimCube(java.lang.String aggName, java.lang.String yearCols, java.lang.String qtrCols, java.lang.String monthCols, java.lang.String monthProp)
-
setupMultiColDimCube
static TestContext setupMultiColDimCube(java.lang.String aggName, java.lang.String yearCols, java.lang.String qtrCols, java.lang.String monthCols, java.lang.String monthProp, java.lang.String defaultMeasure)
-
-