public class FastBatchingCellReaderTest extends BatchTestCase
FastBatchingCellReader
.Modifier and Type | Class and Description |
---|---|
static class |
FastBatchingCellReaderTest.MyDelegatingInvocationHandler |
BatchTestCase.Bomb, BatchTestCase.CellRequestConstraint, BatchTestCase.TestCase, BatchTestCase.TestListener
cubeNameSales, fieldGender, fieldProductDepartment, fieldProductFamily, fieldValueProductDepartment, fieldValuesGender, fieldValuesProductFamily, fieldValuesYear, fieldYear, measureUnitSales, tableCustomer, tableProductClass, tableTime
propSaver
Constructor and Description |
---|
FastBatchingCellReaderTest() |
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, getRegistry, makeConstraintCountryState, makeConstraintProductFamilyDepartment, makeConstraintYearQuarterMonth
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, warehouseMembersCanadaMexicoUsa
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
protected void tearDown() throws Exception
tearDown
in class FoodMartTestCase
Exception
public void testMissingSubtotalBugMetricFilter()
public void testMissingSubtotalBugMultiLevelMetricFilter()
public void testShouldUseGroupingFunctionOnPropertyTrueAndOnSupportedDB()
public void testShouldUseGroupingFunctionOnPropertyTrueAndOnNonSupportedDB()
public void testShouldUseGroupingFunctionOnPropertyFalseOnSupportedDB()
public void testShouldUseGroupingFunctionOnPropertyFalseOnNonSupportedDB()
public void testDoesDBSupportGroupingSets()
public void testGroupBatchesForNonGroupableBatchesWithSorting()
public void testGroupBatchesForNonGroupableBatchesWithConstraints()
public void testGroupBatchesForGroupableBatches()
public void testGroupBatchesForGroupableBatchesAndNonGroupableBatches()
public void testGroupBatchesForTwoSetOfGroupableBatches()
public void testAddToCompositeBatchForBothBatchesNotPartOfCompositeBatch()
public void testAddToCompositeBatchForDetailedBatchAlreadyPartOfACompositeBatch()
public void testAddToCompositeBatchForAggregationBatchAlreadyPartOfACompositeBatch()
public void testAddToCompositeBatchForBothBatchAlreadyPartOfACompositeBatch()
public void testCanBatchForSuperSet()
public void testCanBatchForBatchWithConstraint()
public void testCanBatchForBatchWithConstraint2()
public void testCanBatchForBatchWithDistinctCountInDetailedBatch()
public void testCanBatchForBatchWithDistinctCountInAggregateBatch()
public void testCanBatchSummaryBatchWithDetailedBatchWithDistinctCount()
public void testNonSuperSet()
public void testSuperSetAndNotAllValues()
public void testCanBatchForBatchesFromSameAggregationButDifferentRollupOption()
public void testSuperSetDifferentValues()
public void testCanBatchForBatchWithDifferentAggregationTable()
public void testCannotBatchTwoBatchesAtTheSameLevel()
public void testCompositeBatchLoadAggregation() throws Exception
Exception
public void testLoadDistinctSqlMeasure()
count(distinct "col1" + "col2"), count(distinct query)
,
are loaded individually, and separately from the other aggregates.public void testAggregateDistinctCount()
public void testAggregateDistinctCount2()
testAggregateDistinctCount()
, but (a) calc member includes
members from different levels and (b) also display [unit sales].public void testAggregateDistinctCount3()
testAggregateDistinctCount2()
, but with two calc members
simultaneously.public void testAggregateDistinctCount4()
public void testAggregateDistinctCount5()
public void testAggregateDistinctCount6()
public void testDistinctCountBug1785406()
Note: 1785406 is a regression from checkin 9710. Code changes made in 9710 is no longer in use (and removed). So this bug will not occur; however, keeping the test case here to get some coverage for a query with a slicer.
public void testDistinctCountBug1785406_2()
public void testAggregateDistinctCountInDimensionFilter()