mondrian.rolap
Class DataSourceChangeListenerTest

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

public class DataSourceChangeListenerTest
extends FoodMartTestCase

Tests for testing the DataSourceChangeListener plugin.

Since:
Jan 05, 2007
Author:
Bart Pappyn

Field Summary
 
Fields inherited from class mondrian.test.FoodMartTestCase
propSaver
 
Constructor Summary
DataSourceChangeListenerTest()
           
DataSourceChangeListenerTest(String name)
           
 
Method Summary
(package private)  Result executeQuery(String mdx, Connection connection)
           
(package private)  SmartMemberReader getSharedSmartMemberReader(Connection con, String hierName)
           
(package private)  SmartMemberReader getSharedSmartMemberReader(String hierName)
           
(package private)  SmartMemberReader getSmartMemberReader(Connection con, String hierName)
           
(package private)  SmartMemberReader getSmartMemberReader(String hierName)
           
(package private)  RolapStar getStar(Connection con, String starName)
           
(package private)  RolapStar getStar(String starName)
           
 void testDataSourceChangeListenerPlugin()
          Tests whether the data source plugin is able to tell mondrian to read the hierarchy and aggregates again.
 void testParallelDataSourceChangeListenerPlugin()
          Tests whether the flushing of the cache is thread safe.
 
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, setUp, 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

DataSourceChangeListenerTest

public DataSourceChangeListenerTest()

DataSourceChangeListenerTest

public DataSourceChangeListenerTest(String name)
Method Detail

testDataSourceChangeListenerPlugin

public void testDataSourceChangeListenerPlugin()
Tests whether the data source plugin is able to tell mondrian to read the hierarchy and aggregates again.


testParallelDataSourceChangeListenerPlugin

public void testParallelDataSourceChangeListenerPlugin()
Tests whether the flushing of the cache is thread safe.


executeQuery

Result executeQuery(String mdx,
                    Connection connection)

getSmartMemberReader

SmartMemberReader getSmartMemberReader(String hierName)

getSmartMemberReader

SmartMemberReader getSmartMemberReader(Connection con,
                                       String hierName)

getSharedSmartMemberReader

SmartMemberReader getSharedSmartMemberReader(String hierName)

getSharedSmartMemberReader

SmartMemberReader getSharedSmartMemberReader(Connection con,
                                             String hierName)

getStar

RolapStar getStar(String starName)

getStar

RolapStar getStar(Connection con,
                  String starName)

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