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(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
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
-
-
-
-
Constructor Detail
-
XmlaTabularTest
public XmlaTabularTest()
-
XmlaTabularTest
public XmlaTabularTest(String name)
-
-
Method Detail
-
getDiffRepos
protected DiffRepository getDiffRepos()
- Specified by:
getDiffRepos
in classXmlaBaseTestCase
-
getServletCallbackClass
protected Class<? extends XmlaRequestCallback> getServletCallbackClass()
- Specified by:
getServletCallbackClass
in classXmlaBaseTestCase
-
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 classXmlaBaseTestCase
- Parameters:
action
- Action to perform- Returns:
- Session id for create, query; null for clear
-
-