mondrian.xmla
Class XmlaExcel2000Test
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
mondrian.test.FoodMartTestCase
mondrian.xmla.XmlaBaseTestCase
mondrian.xmla.XmlaExcel2000Test
- All Implemented Interfaces:
- Test
public class XmlaExcel2000Test
- extends XmlaBaseTestCase
Test suite for compatibility of Mondrian XMLA with Excel 2000.
Simba (the maker of the O2X bridge) supplied captured request/response
soap messages between Excel 2000 and SQL Server. These form the
basis of the output files in the excel_2000 directory.
- Version:
- $Id: //open/mondrian/testsrc/main/mondrian/xmla/XmlaExcel2000Test.java#20 $
- 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
XmlaExcel2000Test
public XmlaExcel2000Test()
XmlaExcel2000Test
public XmlaExcel2000Test(java.lang.String name)
getOutFileName
protected java.lang.String getOutFileName(java.lang.String nos)
getDiffRepos
protected DiffRepository getDiffRepos()
- Specified by:
getDiffRepos
in class XmlaBaseTestCase
getServletCallbackClass
protected java.lang.Class<? extends XmlaRequestCallback> getServletCallbackClass()
- Specified by:
getServletCallbackClass
in class XmlaBaseTestCase
generateExpectedString
protected java.lang.String generateExpectedString(java.lang.String nos,
java.util.Properties props)
throws java.lang.Exception
- Throws:
java.lang.Exception
test01
public void test01()
throws java.lang.Exception
- Throws:
java.lang.Exception
test02
public void test02()
throws java.lang.Exception
- Throws:
java.lang.Exception
test03
public void test03()
throws java.lang.Exception
- Throws:
java.lang.Exception
test04
public void test04()
throws java.lang.Exception
- Throws:
java.lang.Exception
test05
public void test05()
throws java.lang.Exception
- Throws:
java.lang.Exception
test06
public void test06()
throws java.lang.Exception
- Throws:
java.lang.Exception
test07
public void test07()
throws java.lang.Exception
- Throws:
java.lang.Exception
test08
public void test08()
throws java.lang.Exception
- Throws:
java.lang.Exception
test09
public void test09()
throws java.lang.Exception
- Throws:
java.lang.Exception
test10
public void test10()
throws java.lang.Exception
- Throws:
java.lang.Exception
test11
public void test11()
throws java.lang.Exception
- Throws:
java.lang.Exception
test12
public void test12()
throws java.lang.Exception
- Throws:
java.lang.Exception
test13
public void test13()
throws java.lang.Exception
- Throws:
java.lang.Exception
test14
public void test14()
throws java.lang.Exception
- Throws:
java.lang.Exception
test15
public void test15()
throws java.lang.Exception
- Throws:
java.lang.Exception
test16
public void test16()
throws java.lang.Exception
- Throws:
java.lang.Exception
test17
public void test17()
throws java.lang.Exception
- Throws:
java.lang.Exception
test18
public void test18()
throws java.lang.Exception
- Throws:
java.lang.Exception
helperTest
protected void helperTest(java.lang.String nos,
boolean doSessionId)
throws java.lang.Exception
- Throws:
java.lang.Exception
testExpect01
public void testExpect01()
throws java.lang.Exception
- Throws:
java.lang.Exception
testExpect02
public void testExpect02()
throws java.lang.Exception
- Throws:
java.lang.Exception
testExpect03
public void testExpect03()
throws java.lang.Exception
- Throws:
java.lang.Exception
testExpect04
public void testExpect04()
throws java.lang.Exception
- Throws:
java.lang.Exception
testExpect05
public void testExpect05()
throws java.lang.Exception
- Throws:
java.lang.Exception
testExpect06
public void testExpect06()
throws java.lang.Exception
- Throws:
java.lang.Exception
helperTestExpect
protected void helperTestExpect(java.lang.String nos,
boolean doSessionId)
throws java.lang.Exception
- Throws:
java.lang.Exception
doTest
public void doTest(MockHttpServletRequest req,
java.lang.String nos,
java.util.Properties props)
throws java.lang.Exception
- Throws:
java.lang.Exception
doTest
public void doTest(java.lang.String nos,
java.util.Properties props)
throws java.lang.Exception
- Throws:
java.lang.Exception
validate
protected void validate(byte[] bytes,
org.w3c.dom.Document expectedDoc)
throws java.lang.Exception
- Throws:
java.lang.Exception
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 class XmlaBaseTestCase
- Parameters:
action
- Action to perform
- Returns:
- Session id for create, query; null for clear
generateRequestString
protected java.lang.String generateRequestString(java.lang.String nos,
java.util.Properties props)
throws java.lang.Exception
- Throws:
java.lang.Exception