Package mondrian.xmla
Class XmlaTabularTest
- java.lang.Object
-
- TestCase
-
- mondrian.test.FoodMartTestCase
-
- mondrian.xmla.XmlaBaseTestCase
-
- mondrian.xmla.XmlaTabularTest
-
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
Constructors Constructor Description XmlaTabularTest()
XmlaTabularTest(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DiffRepository
getDiffRepos()
protected java.lang.Class<? extends XmlaRequestCallback>
getServletCallbackClass()
protected java.lang.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
addDatasourceInfoResponseKey, doTest, doTest, doTest, doTest, doTestInline, doTestInline, doTests, doTestsJson, fileToDocument, fileToString, filter, filterConnectString, generateExpectedString, generateRequestString, getCatalogNameUrls, getDefaultRequestProperties, getServlet, getSessionId, helperTest, helperTestExpect, maskVersion, 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, verifySameNativeAndNot, warehouseMembersCanadaMexicoUsa
-
-
-
-
Method Detail
-
testTabularOneByOne
public void testTabularOneByOne() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testTabularOneByTwo
public void testTabularOneByTwo() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testTabularTwoByOne
public void testTabularTwoByOne() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testTabularTwoByTwo
public void testTabularTwoByTwo() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testTabularZeroByZero
public void testTabularZeroByZero() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testTabularVoid
public void testTabularVoid() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testTabularThreeAxes
public void testTabularThreeAxes() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getDiffRepos
protected DiffRepository getDiffRepos()
- Specified by:
getDiffRepos
in classXmlaBaseTestCase
-
getServletCallbackClass
protected java.lang.Class<? extends XmlaRequestCallback> getServletCallbackClass()
- Specified by:
getServletCallbackClass
in classXmlaBaseTestCase
-
getSessionId
protected java.lang.String getSessionId(XmlaBaseTestCase.Action action)
Description copied from class:XmlaBaseTestCase
Creates, retrieves or clears the session id for this test.- Specified by:
getSessionId
in classXmlaBaseTestCase
- Parameters:
action
- Action to perform- Returns:
- Session id for create, query; null for clear
-
-