mondrian.rolap.agg
Class SegmentCacheTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by mondrian.test.FoodMartTestCase
              extended by mondrian.test.BasicQueryTest
                  extended by mondrian.rolap.agg.SegmentCacheTest
All Implemented Interfaces:
junit.framework.Test

public class SegmentCacheTest
extends BasicQueryTest

Test suite that runs the BasicQueryTest but with the MockSegmentCache active.

Author:
LBoudreau

Nested Class Summary
 
Nested classes/interfaces inherited from class mondrian.test.BasicQueryTest
BasicQueryTest.CountConcurrentUdf, BasicQueryTest.MyJdbcStatisticsProvider, BasicQueryTest.SleepUdf
 
Field Summary
 
Fields inherited from class mondrian.test.FoodMartTestCase
propSaver
 
Constructor Summary
SegmentCacheTest()
           
 
Method Summary
protected  void setUp()
           
 void testCompoundPredicatesCollision()
           
 void testSegmentCacheEvents()
           
 
Methods inherited from class mondrian.test.BasicQueryTest
_badArgsToTupleFails, _testBug793616, _testCubeWhichUsesSameSharedDimTwice, _testCumlativeSums, _testDairy, _testDateRange, _testDc4dtp2, _testDifferentCalculationsForDifferentDimensions, _testDifferentCalculationsForDifferentDimensions2, _testDrillingDownMoreThanOneLevel, _testEver, _testHalfYearsTrickyCase, _testLookupCube, _testMemberPropertyAsCalcMember, _testMembersFunction, _testProduct2, _testRolling, _testSet, _testSetArgToTupleFails, _testTopmost, _testWarehouseProfit, _testYtdGrowth, dont_testParallelFlushCache, dont_testParallelMutliple, dont_testParallelNot, dont_testParallelSomewhat, dont_testParallelVery, testAllLevelName, testAllMemberCaption, testAsSample7ButUsingVirtualCube, testAvgCastProblem, testBadComments, testBadMeasure1, testBadMeasure2, testBasketAnalysis, testBasketAnalysisAfterFlush, testBigQuery, testBothAxesEmpty, testBug1630754, testBug636687, testBug769114, testBugMondrian14, testBugMondrian34, testBugMondrian36, testBugMondrian46, testBugMondrian8, testCalculatedMemberWhichIsNotAMeasure, testCancel, testCatalogHierarchyBasedOnView, testCatalogHierarchyBasedOnView2, testCellValue, testCompoundSlicer, testCompoundSlicerNonEmpty, testConcurrentStatementRun_2, testConcurrentStatementRun, testConstantNumber, testConstantString, testCountDistinct, testCountDistinctAgg, testCrossjoinWithDescendantsAndUnknownMember, testCustomMemberProperties, testCycle, testCyclicalCalculatedMembers, testDefaultMeasureInCube, testDefaultMeasureInCubeForCaseSensitivity, testDefaultMeasureInCubeForIncorrectMeasureName, testDependsOn, testDifferentCalcsForDifferentTimePeriods, testDifferentCalculations2, testDifferentCalculationsForDifferentLevels, testDimWithoutAll, testDirectMemberReferenceOnDimensionWithCalculationsDefined, testDuplicateAxisFails, testDynamicFormat, testEmptyAggregationListDueToFilterDoesNotThrowException, testEmptyProperty, testEmptySqlBug, testEmptyTupleSlicerFails, testExplain, testExplainComplex, testExplainInvalid, testFilteredCrossJoin, testFilterWithCrossJoin, testFormatInheritance, testFormatInheritanceUseFirstValid, testFormatInheritanceUseSecondIfFirstHasNoFormat, testFormatInheritanceWithIIF, testFormatInheritanceWorksWithFirstFormatItFinds, testFormatOfNil, testFormatOfNulls, testFormatStringAppliedToStringValue, testGetCaptionUsingMemberDotCaption, testGetCaptionUsingMemberDotPropertiesCaption, testGetContext, testGoodComments, testHalfYears, testHeterogeneousAxis, testHierarchiesOfSameDimensionOnDifferentAxes, testHierDifferentKeyClass, testHighCardSqlTupleReaderLeakingConnections, testIifWithMemberFirstAndTupleNextWithMeasure, testIifWithMemberFirstAndTupleNextWithoutMeasure, testIifWithTupleFirstAndMemberNextWithMeasure, testIifWithTupleFirstAndMemberNextWithoutMeasure, testIifWithTuplesOfUnequalSizes, testIifWithTuplesOfUnequalSizesAndOrder, testInvalidAxisFails, testInvalidMembersInQuery, testLogicalAnd, testLogicalOps, testMemberOnAxis, testMemberOrdinalCaching, testMembersOfLargeDimensionTheHardWay, testMemberVisibility, testMemberWithNullKey, testMid, testMultipleCalculatedMembersWhichAreNotMeasures, testMultipleCalculatedMembersWhichAreNotMeasures2, testMultipleCalculatedMembersWhichAreNotMeasures3, testMultipleConstraintsOnSameColumn, testNonEmpty1, testNonEmpty2, testNonEmptyCrossJoin, testNonEmptyCrossjoinFilter, testNonEmptyNonEmptyCrossJoin1, testNonEmptyNonEmptyCrossJoin2, testNonEmptyNonEmptyCrossJoin3, testNonEmptyNonEmptyCrossJoin4, testNullMember, testNullMemberWithOneNonNull, testNumericToLogicalConversion, testOneDimensionalQueryWithTupleAsSlicer, testOverlappingCalculatedMembers, testOverrideDimension, testPercentagesAsMeasures, testQueryIterationLimit, testQueryTimeout, testRank, testResultLimit, testRollup, testRollupQuery, testSameDimOnTwoAxesFails, testSample0, testSample1, testSample2, testSample3, testSample4, testSample5, testSample5Snowflake, testSample6, testSample7, testSample8, testScalarOnAxisFails, testSchemaLevelOrdinalInOtherTable, testSchemaLevelTableInAnotherHierarchy, testSchemaLevelTableIsBad, testSchemaLevelWithViewSpecifiesTable, testSchemaTopLevelNotUnique, testSlicerIsEvaluatedBeforeAxes, testSlicerOverride, testSlicerWithCalculatedMembers, testSolveOrder, testSolveOrderAmbiguous1, testSolveOrderAmbiguous2, testSolveOrderNonMeasure, testSolveOrderNonMeasure2, testStatistics, testStoreCube, testStringComparisons, testSummingProperties, testTaglib0, testTaglib1, testTaglib2, testTaglib3, testTaglib4, testTaglib5, testTopmost2, testUnparse, testUnparse2, testUseDimensionAsShorthandForMember, testVirtualCube, testZeroValuesAreNotTreatedAsNull
 
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, warehouseMembersCanadaMexicoUsa
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SegmentCacheTest

public SegmentCacheTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

testCompoundPredicatesCollision

public void testCompoundPredicatesCollision()

testSegmentCacheEvents

public void testSegmentCacheEvents()
                            throws Exception
Throws:
Exception

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads