public class XmlaBasicTest extends XmlaBaseTestCase
XmlaBaseTestCase.Action, XmlaBaseTestCase.CallBack, XmlaBaseTestCase.XmlaRequestCallbackImpl
Modifier and Type | Field and Description |
---|---|
static String |
CONTENT_PROP |
static String |
FORMAT_TABLULAR |
static String |
RESTRICTION_NAME_PROP |
static String |
RESTRICTION_VALUE_PROP |
static String |
UNIQUE_NAME_ELEMENT |
static String |
UNIQUE_NAME_PROP |
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
propSaver
Constructor and Description |
---|
XmlaBasicTest() |
XmlaBasicTest(String name) |
addDatasourceInfoResponseKey, doTest, doTest, doTest, doTest, doTestInline, doTestInline, doTests, doTestsJson, fileToDocument, fileToString, filterConnectString, generateExpectedString, generateRequestString, getCatalogNameUrls, getDefaultRequestProperties, getServlet, getSessionId, helperTest, helperTestExpect, maskVersion, replaceLastSchemaUpdateDate, tearDown, validate
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
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
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
public static final String FORMAT_TABLULAR
public static final String UNIQUE_NAME_ELEMENT
public static final String UNIQUE_NAME_PROP
public static final String RESTRICTION_NAME_PROP
public static final String RESTRICTION_VALUE_PROP
public static final String CONTENT_PROP
public XmlaBasicTest()
public XmlaBasicTest(String name)
protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
protected DiffRepository getDiffRepos()
getDiffRepos
in class XmlaBaseTestCase
protected Class<? extends XmlaRequestCallback> getServletCallbackClass()
getServletCallbackClass
in class XmlaBaseTestCase
protected String extractSoapResponse(Document responseDoc, XmlaConstants.Content content)
public void testMDFunctions() throws Exception
Exception
- on errorpublic void testMDLevelsAccessControlled() throws Exception
Exception
public void testApproxRowCountOverridesCountCallsToDatabase() throws Exception
Exception
public void testApproxRowCountInHierarchyOverridesCountCallsToDatabase() throws Exception
Exception
public void testDrillThroughMaxRows() throws Exception
Exception
- on errorpublic void testDrillThrough() throws Exception
Exception
- on errorpublic void testDrillThroughZeroDimensionalQuery() throws Exception
Exception
- on errorprotected String filter(String testCaseName, String filename, String content)
XmlaBaseTestCase
filter
in class XmlaBaseTestCase
testCaseName
- Name of current test case, e.g. "testFoo"filename
- Name of requested content, e.g. "${request}"content
- Contentpublic void testExecuteSlicer_ContentDataOmitDefaultSlicer() throws Exception
Exception
public void testExecuteNoSlicer_ContentDataOmitDefaultSlicer() throws Exception
Exception
public void testExecuteSlicer_ContentDataIncludeDefaultSlicer() throws Exception
Exception
public void testExecuteNoSlicer_ContentDataIncludeDefaultSlicer() throws Exception
Exception
public void testExecuteEmptySlicer_ContentDataIncludeDefaultSlicer() throws Exception
Exception
public void testExecuteEmptySlicer_ContentDataOmitDefaultSlicer() throws Exception
Exception
public void testExecuteWithoutCellProperties() throws Exception
Exception
public void testExecuteWithCellProperties() throws Exception
Exception
public void testExecuteWithMemberKeyDimensionPropertyForMemberWithoutKey() throws Exception
Exception
public void testExecuteWithMemberKeyDimensionPropertyForMemberWithKey() throws Exception
Exception
public void testExecuteWithMemberKeyDimensionPropertyForAllMember() throws Exception
Exception
public void testExecuteWithKeyDimensionProperty() throws Exception
Exception
public void testExecuteWithDimensionProperties() throws Exception
Exception
public void testExecuteCrossjoin() throws Exception
Exception
public void testExecuteCrossjoinRole() throws Exception
Exception
public void testExecuteBugMondrian762() throws Exception
Exception
public void testExecuteBugMondrian1316() throws Exception
Exception
public void doTestRT(String requestType, TestContext testContext) throws Exception
Exception
protected String getSessionId(XmlaBaseTestCase.Action action)
XmlaBaseTestCase
getSessionId
in class XmlaBaseTestCase
action
- Action to perform