mondrian.test.clearview
Class OrderTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by mondrian.test.FoodMartTestCase
              extended by mondrian.rolap.BatchTestCase
                  extended by mondrian.test.clearview.ClearViewBase
                      extended by mondrian.test.clearview.OrderTest
All Implemented Interfaces:
junit.framework.Test

public class OrderTest
extends ClearViewBase

OrderTest tests the extended syntax of Order function. See { @link http://pub.eigenbase.org/wiki/MondrianOrderFunctionExtension } for syntax rules. MDX queries and their expected results are maintained separately in OrderTest.ref.xml file.If you would prefer to see them as inlined Java string literals, run ant target "generateDiffRepositoryJUnit" and then use file OrderTestJUnit.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
OrderTest()
           
OrderTest(String name)
           
 
Method Summary
 DiffRepository getDiffRepos()
           
static junit.framework.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
 
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, 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

OrderTest

public OrderTest()

OrderTest

public OrderTest(String name)
Method Detail

getDiffRepos

public DiffRepository getDiffRepos()
Specified by:
getDiffRepos in class ClearViewBase

suite

public static junit.framework.TestSuite suite()

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