Package mondrian.rolap
Class RolapNativeTopCountTest
- java.lang.Object
-
- TestCase
-
- mondrian.test.FoodMartTestCase
-
- mondrian.rolap.BatchTestCase
-
- mondrian.rolap.RolapNativeTopCountTest
-
public class RolapNativeTopCountTest extends BatchTestCase
- Author:
- Andrey Khayrutdinov
- See Also:
RolapNativeTopCountTestCases
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class mondrian.rolap.BatchTestCase
BatchTestCase.Bomb, BatchTestCase.CellRequestConstraint, BatchTestCase.TestCase, BatchTestCase.TestListener
-
-
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 RolapNativeTopCountTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
testEmptyCellsAreHidden_WhenNonEmptyIsDeclaredExplicitly()
void
testEmptyCellsAreShown_ButNoMoreThanReallyExist()
void
testEmptyCellsAreShown_Countries()
void
testEmptyCellsAreShown_States()
void
testMimicsHeadWhenTwoParams_Cities()
void
testMimicsHeadWhenTwoParams_DoesNotIgnoreNonEmpty()
void
testMimicsHeadWhenTwoParams_ShowsNotMoreThanExist()
void
testMimicsHeadWhenTwoParams_States()
void
testRoleRestrictionWorks_ForRowWithData()
void
testRoleRestrictionWorks_ForRowWithOutData()
void
testTopCount_CountMeasure()
void
testTopCount_ImplicitCountMeasure()
void
testTopCount_SumMeasure()
-
Methods inherited from class mondrian.rolap.BatchTestCase
assertNative, assertNoQuerySql, assertNotNative, assertQuerySql, assertQuerySql, assertQuerySql, assertQuerySqlOrNot, assertRequestSql, assertRequestSql, checkNative, checkNative, checkNative, checkNotNative, checkNotNative, checkNotNative, clearAndHardenCache, createBatch, createBatch, createRequest, createRequest, createRequest, createRequest, dialectize, executeQuery, getCube, getFoodMartConnection, getGroupingSet, getMeasure, getRegistry, makeConstraintCountryState, makeConstraintProductFamilyDepartment, makeConstraintYearQuarterMonth, 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, getTestContext, isDefaultNullMemberRepresentation, isGroupingSetsSupported, member, productMembersPotScrubbersPotsAndPans, storeMembersCAAndOR, storeMembersUsaAndCanada, tearDown, verifySameNativeAndNot, warehouseMembersCanadaMexicoUsa
-
-
-
-
Method Detail
-
testTopCount_ImplicitCountMeasure
public void testTopCount_ImplicitCountMeasure() throws Exception
- Throws:
Exception
-
testTopCount_CountMeasure
public void testTopCount_CountMeasure() throws Exception
- Throws:
Exception
-
testEmptyCellsAreShown_Countries
public void testEmptyCellsAreShown_Countries()
-
testEmptyCellsAreShown_States
public void testEmptyCellsAreShown_States()
-
testEmptyCellsAreShown_ButNoMoreThanReallyExist
public void testEmptyCellsAreShown_ButNoMoreThanReallyExist()
-
testEmptyCellsAreHidden_WhenNonEmptyIsDeclaredExplicitly
public void testEmptyCellsAreHidden_WhenNonEmptyIsDeclaredExplicitly()
-
testRoleRestrictionWorks_ForRowWithData
public void testRoleRestrictionWorks_ForRowWithData() throws Exception
- Throws:
Exception
-
testRoleRestrictionWorks_ForRowWithOutData
public void testRoleRestrictionWorks_ForRowWithOutData() throws Exception
- Throws:
Exception
-
testMimicsHeadWhenTwoParams_States
public void testMimicsHeadWhenTwoParams_States()
-
testMimicsHeadWhenTwoParams_Cities
public void testMimicsHeadWhenTwoParams_Cities()
-
testMimicsHeadWhenTwoParams_ShowsNotMoreThanExist
public void testMimicsHeadWhenTwoParams_ShowsNotMoreThanExist()
-
testMimicsHeadWhenTwoParams_DoesNotIgnoreNonEmpty
public void testMimicsHeadWhenTwoParams_DoesNotIgnoreNonEmpty()
-
-