Package mondrian.test.clearview
Class MultiDimVCTest
- java.lang.Object
-
- TestCase
-
- mondrian.test.FoodMartTestCase
-
- mondrian.rolap.BatchTestCase
-
- mondrian.test.clearview.ClearViewBase
-
- mondrian.test.clearview.MultiDimVCTest
-
public class MultiDimVCTest extends ClearViewBase
MultiDimVCTest
is a test suite which tests complex queries against the FoodMart database. MDX queries and their expected results are maintained separately in MultiDimVCTest.ref.xml file. If you would prefer to see them as inlined Java string literals, run ant target "generateDiffRepositoryJUnit" and then use file MultiDimVCTestJUnit.java which will be generated in this directory.- Author:
- Khanh Vu
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class mondrian.rolap.BatchTestCase
BatchTestCase.TestCase
-
-
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 MultiDimVCTest()
MultiDimVCTest(String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DiffRepository
getDiffRepos()
static TestSuite
suite()
-
Methods inherited from class mondrian.test.clearview.ClearViewBase
assertNoQuerySql, assertQuerySql, constructSuite, runTest, setUp, tearDown
-
Methods inherited from class mondrian.rolap.BatchTestCase
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, 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, verifySameNativeAndNot, warehouseMembersCanadaMexicoUsa
-
-
-
-
Constructor Detail
-
MultiDimVCTest
public MultiDimVCTest()
-
MultiDimVCTest
public MultiDimVCTest(String name)
-
-
Method Detail
-
getDiffRepos
public DiffRepository getDiffRepos()
- Specified by:
getDiffRepos
in classClearViewBase
-
suite
public static TestSuite suite()
-
-