mondrian.xmla
Class XmlaExcelXPTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
mondrian.test.FoodMartTestCase
mondrian.xmla.XmlaBaseTestCase
mondrian.xmla.XmlaExcelXPTest
- All Implemented Interfaces:
- Test
public class XmlaExcelXPTest
- extends XmlaBaseTestCase
Test suite for compatibility of Mondrian XMLA with Excel XP.
Simba (the maker of the O2X bridge) supplied captured request/response
soap messages between Excel XP and SQL Server. These form the
basis of the output files in the excel_XP directory.
- Version:
- $Id: //open/mondrian/testsrc/main/mondrian/xmla/XmlaExcelXPTest.java#19 $
- Author:
- Richard M. Emberson
Fields inherited from class mondrian.xmla.XmlaBaseTestCase |
CATALOG, CATALOG_NAME_PROP, CATALOG_PROP, catalogNameUrls, CUBE_NAME_PROP, DATA_SOURCE_INFO, DATA_SOURCE_INFO_PROP, FORMAT_MULTI_DIMENSIONAL, FORMAT_PROP, HR_CUBE, LAST_SCHEMA_UPDATE_DATE, LAST_SCHEMA_UPDATE_DATE_PROP, REQUEST_TYPE_PROP, SALES_CUBE, SESSION_ID_PROP |
Methods inherited from class mondrian.xmla.XmlaBaseTestCase |
clearServlet, doTest, doTest, doTestInline, doTestInline, doTests, fileToDocument, fileToString, filter, getCatalogNameUrls, getDefaultRequestProperties, getServlet, getSessionId, replaceLastSchemaUpdateDate |
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, getTestContext, isDefaultNullMemberRepresentation, isGroupingSetsSupported, member, productMembersPotScrubbersPotsAndPans, storeMembersCAAndOR, storeMembersUsaAndCanada, tearDown, warehouseMembersCanadaMexicoUsa |
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, failNotEquals, failNotSame, failSame |
XmlaExcelXPTest
public XmlaExcelXPTest()
XmlaExcelXPTest
public XmlaExcelXPTest(String name)
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
generateExpectedString
protected String generateExpectedString(String nos,
Properties props)
throws Exception
- Throws:
Exception
getServletCallbackClass
protected Class<? extends XmlaRequestCallback> getServletCallbackClass()
- Specified by:
getServletCallbackClass
in class XmlaBaseTestCase
getDiffRepos
protected DiffRepository getDiffRepos()
- Specified by:
getDiffRepos
in class XmlaBaseTestCase
test01
public void test01()
throws Exception
- Throws:
Exception
test02
public void test02()
throws Exception
- Throws:
Exception
test03
public void test03()
throws Exception
- Throws:
Exception
test04
public void test04()
throws Exception
- Throws:
Exception
test05
public void test05()
throws Exception
- Throws:
Exception
test06
public void test06()
throws Exception
- Throws:
Exception
test07
public void test07()
throws Exception
- Throws:
Exception
test08
public void test08()
throws Exception
- Throws:
Exception
test09
public void test09()
throws Exception
- Throws:
Exception
test10
public void test10()
throws Exception
- Throws:
Exception
test11
public void test11()
throws Exception
- Throws:
Exception
test12
public void test12()
throws Exception
- Throws:
Exception
test13
public void test13()
throws Exception
- Throws:
Exception
test14
public void test14()
throws Exception
- Throws:
Exception
test15
public void test15()
throws Exception
- Throws:
Exception
test16
public void test16()
throws Exception
- Throws:
Exception
test17
public void test17()
throws Exception
- Throws:
Exception
_test18
public void _test18()
throws Exception
- Throws:
Exception
test19
public void test19()
throws Exception
- Throws:
Exception
test20
public void test20()
throws Exception
- Throws:
Exception
_test21
public void _test21()
throws Exception
- Throws:
Exception
_test22
public void _test22()
throws Exception
- Throws:
Exception
test23
public void test23()
throws Exception
- Throws:
Exception
test24
public void test24()
throws Exception
- Throws:
Exception
helperTest
protected void helperTest(String nos,
boolean doSessionId)
throws Exception
- Throws:
Exception
testExpect01
public void testExpect01()
throws Exception
- Throws:
Exception
testExpect02
public void testExpect02()
throws Exception
- Throws:
Exception
testExpect03
public void testExpect03()
throws Exception
- Throws:
Exception
testExpect04
public void testExpect04()
throws Exception
- Throws:
Exception
testExpect05
public void testExpect05()
throws Exception
- Throws:
Exception
testExpect06
public void testExpect06()
throws Exception
- Throws:
Exception
helperTestExpect
protected void helperTestExpect(String nos,
boolean doSessionId)
throws Exception
- Throws:
Exception
doTest
public void doTest(MockHttpServletRequest req,
String nos,
Properties props)
throws Exception
- Throws:
Exception
doTest
public void doTest(String nos,
Properties props)
throws Exception
- Throws:
Exception
validate
protected void validate(byte[] bytes,
Document expectedDoc)
throws Exception
- Throws:
Exception
generateRequestString
protected String generateRequestString(String nos,
Properties props)
throws Exception
- Throws:
Exception
getOutFileName
protected String getOutFileName(String nos)