mondrian.test
Class CVConcurrentMdxTest

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

public class CVConcurrentMdxTest
extends FoodMartTestCase

A copy of ConcurrentMdxTest with modifications to take as input ref.xml files. This does not fully use DiffRepository and does not generate log files. This Class is not added to the Main test suite. Purpose of this test is to simulate Concurrent access to Aggregation and data load. Simulation will be more effective if we run this single test again and again with a fresh connection.

Author:
Khanh Vu

Nested Class Summary
 
Nested classes/interfaces inherited from class mondrian.test.FoodMartTestCase
FoodMartTestCase.QueryAndResult
 
Field Summary
 
Fields inherited from class mondrian.test.FoodMartTestCase
propSaver
 
Constructor Summary
CVConcurrentMdxTest()
           
CVConcurrentMdxTest(String name)
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testConcurrentCVQueriesInRandomOrder()
           
 void testConcurrentQueriesInRandomOrder()
           
 void testConcurrentQueriesInRandomOrderOnVirtualCube()
           
 
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, 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

CVConcurrentMdxTest

public CVConcurrentMdxTest()

CVConcurrentMdxTest

public CVConcurrentMdxTest(String name)
Method Detail

testConcurrentQueriesInRandomOrder

public void testConcurrentQueriesInRandomOrder()

testConcurrentQueriesInRandomOrderOnVirtualCube

public void testConcurrentQueriesInRandomOrderOnVirtualCube()

testConcurrentCVQueriesInRandomOrder

public void testConcurrentCVQueriesInRandomOrder()

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class FoodMartTestCase
Throws:
Exception

setUp

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

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