public class XmlaExcel2007Test extends XmlaBaseTestCase
| Modifier and Type | Class and Description | 
|---|---|
(package private) static class  | 
XmlaExcel2007Test.Callback  | 
XmlaBaseTestCase.Action, XmlaBaseTestCase.CallBack, XmlaBaseTestCase.XmlaRequestCallbackImplCATALOG, 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_PROPpropSaver| Constructor and Description | 
|---|
XmlaExcel2007Test()  | 
XmlaExcel2007Test(String name)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected String | 
filter(String testCaseName,
      String filename,
      String content)
Filters the content of a test resource. 
 | 
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 | 
test01()
 | 
void | 
testBugMondrian761()
 | 
void | 
testCellInfo()
Tests that executed MDX query with CELL PROPERTIES included; bug
 MONDRIAN-708,
 "After change 13351 all Excel pivots fail to update. 
 | 
void | 
testMdschemaPropertiesCell()
Test that executes MDSCHEMA_PROPERTIES with
  
Property.TypeFlag.CELL. | 
void | 
testMdschemaPropertiesMember()
Test that executes MDSCHEMA_PROPERTIES with
  
Property.TypeFlag.MEMBER. | 
void | 
testMemberPropertiesAndSlicer()
Test that checks that (a) member properties are in correct format for
 Excel 2007, (b) the slicer axis is in the correct format for Excel 2007. 
 | 
void | 
testUniqueName()
Tests that mondrian can correctly answer the extra queries generated by
 Excel 2007 in bug 
 MONDRIAN-726, "Change 13509 is not Excel 2007 compatible". 
 | 
addDatasourceInfoResponseKey, doTest, doTest, doTest, doTest, doTestInline, doTestInline, doTests, doTestsJson, fileToDocument, fileToString, filterConnectString, generateExpectedString, generateRequestString, getCatalogNameUrls, getDefaultRequestProperties, getServlet, getSessionId, helperTest, helperTestExpect, maskVersion, replaceLastSchemaUpdateDate, tearDown, validateallMember, 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, warehouseMembersCanadaMexicoUsacountTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, toStringassertEquals, 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, failpublic XmlaExcel2007Test()
public XmlaExcel2007Test(String name)
protected String getSessionId(XmlaBaseTestCase.Action action)
XmlaBaseTestCasegetSessionId in class XmlaBaseTestCaseaction - Action to performprotected Class<? extends XmlaRequestCallback> getServletCallbackClass()
getServletCallbackClass in class XmlaBaseTestCaseprotected DiffRepository getDiffRepos()
getDiffRepos in class XmlaBaseTestCaseprotected String filter(String testCaseName, String filename, String content)
XmlaBaseTestCasefilter in class XmlaBaseTestCasetestCaseName - Name of current test case, e.g. "testFoo"filename - Name of requested content, e.g.  "${request}"content - Contentpublic void test01()
public void testMemberPropertiesAndSlicer()
public void testMdschemaPropertiesMember()
Property.TypeFlag.MEMBER.public void testMdschemaPropertiesCell()
Property.TypeFlag.CELL.Exception - on errorpublic void testUniqueName()
public void testCellInfo()
CellInfo element should always contain all requested cell properties. Cell itself can contain fewer properties than requested.
Currently most properties are not implemented or not defined. If they get implemented then test needs to be changed.
public void testBugMondrian761()