mondrian.xmla
Class XmlaTabularTest

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

public class XmlaTabularTest
extends XmlaBaseTestCase

Test XMLA output in tabular (flattened) format.

Author:
Julio Caubín, jhyde

Nested Class Summary
 
Nested classes/interfaces inherited from class mondrian.xmla.XmlaBaseTestCase
XmlaBaseTestCase.Action, XmlaBaseTestCase.CallBack, XmlaBaseTestCase.XmlaRequestCallbackImpl
 
Field Summary
 
Fields inherited from class mondrian.xmla.XmlaBaseTestCase
CATALOG, CATALOG_NAME_PROP, CATALOG_PROP, catalogNameUrls, CUBE_NAME_PROP, DATA_SOURCE_INFO, DATA_SOURCE_INFO_PROP, DEBUG, FORMAT_MULTI_DIMENSIONAL, FORMAT_PROP, LAST_SCHEMA_UPDATE_DATE, LOCALE_PROP, REQUEST_TYPE_PROP, ROLE_PROP, SALES_CUBE, SESSION_ID_PROP
 
Fields inherited from class mondrian.test.FoodMartTestCase
propSaver
 
Constructor Summary
XmlaTabularTest()
           
XmlaTabularTest(String name)
           
 
Method Summary
protected  DiffRepository getDiffRepos()
           
protected  Class<? extends XmlaRequestCallback> getServletCallbackClass()
           
protected  String getSessionId(XmlaBaseTestCase.Action action)
          Creates, retrieves or clears the session id for this test.
 void testTabularOneByOne()
           
 void testTabularOneByTwo()
           
 void testTabularThreeAxes()
           
 void testTabularTwoByOne()
           
 void testTabularTwoByTwo()
           
 void testTabularVoid()
           
 void testTabularZeroByZero()
           
 
Methods inherited from class mondrian.xmla.XmlaBaseTestCase
doTest, doTest, doTest, doTest, doTestInline, doTestInline, doTests, doTestsJson, fileToDocument, fileToString, filter, filterConnectString, generateExpectedString, generateRequestString, getCatalogNameUrls, getDefaultRequestProperties, getServlet, getSessionId, helperTest, helperTestExpect, replaceLastSchemaUpdateDate, tearDown, validate
 
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, 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

XmlaTabularTest

public XmlaTabularTest()

XmlaTabularTest

public XmlaTabularTest(String name)
Method Detail

testTabularOneByOne

public void testTabularOneByOne()
                         throws Exception
Throws:
Exception

testTabularOneByTwo

public void testTabularOneByTwo()
                         throws Exception
Throws:
Exception

testTabularTwoByOne

public void testTabularTwoByOne()
                         throws Exception
Throws:
Exception

testTabularTwoByTwo

public void testTabularTwoByTwo()
                         throws Exception
Throws:
Exception

testTabularZeroByZero

public void testTabularZeroByZero()
                           throws Exception
Throws:
Exception

testTabularVoid

public void testTabularVoid()
                     throws Exception
Throws:
Exception

testTabularThreeAxes

public void testTabularThreeAxes()
                          throws Exception
Throws:
Exception

getDiffRepos

protected DiffRepository getDiffRepos()
Specified by:
getDiffRepos in class XmlaBaseTestCase

getServletCallbackClass

protected Class<? extends XmlaRequestCallback> getServletCallbackClass()
Specified by:
getServletCallbackClass in class XmlaBaseTestCase

getSessionId

protected String getSessionId(XmlaBaseTestCase.Action action)
Description copied from class: XmlaBaseTestCase
Creates, retrieves or clears the session id for this test.

Specified by:
getSessionId in class XmlaBaseTestCase
Parameters:
action - Action to perform
Returns:
Session id for create, query; null for clear

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