Package mondrian.xmla
Class XmlaCognosTest
- java.lang.Object
-
- TestCase
-
- mondrian.test.FoodMartTestCase
-
- mondrian.xmla.XmlaBaseTestCase
-
- mondrian.xmla.XmlaCognosTest
-
public class XmlaCognosTest extends XmlaBaseTestCase
Test suite for compatibility of Mondrian XMLA with Cognos8.2 connected via Simba O2X bridge.- Author:
- Thiyagu, Shishir
-
-
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 XmlaCognosTest()
XmlaCognosTest(String name)
-
Method Summary
-
Methods inherited from class mondrian.xmla.XmlaBaseTestCase
addDatasourceInfoResponseKey, doTest, doTest, doTest, doTest, doTestInline, doTestInline, doTests, doTestsJson, fileToDocument, fileToString, 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
-
XmlaCognosTest
public XmlaCognosTest()
-
XmlaCognosTest
public XmlaCognosTest(String name)
-
-
Method Detail
-
filter
protected String filter(String testCaseName, String filename, String content)
Description copied from class:XmlaBaseTestCase
Filters the content of a test resource. The default implementation returns the content unchanged, but a derived class might override this method to change the content.- Overrides:
filter
in classXmlaBaseTestCase
- Parameters:
testCaseName
- Name of current test case, e.g. "testFoo"filename
- Name of requested content, e.g. "${request}"content
- Content- Returns:
- Modified content
-
testCognosMDXSuiteSales_001
public void testCognosMDXSuiteSales_001() throws Exception
- Throws:
Exception
-
testCognosMDXSuiteSales_002
public void testCognosMDXSuiteSales_002() throws Exception
- Throws:
Exception
-
testCognosMDXSuiteSales_003
public void testCognosMDXSuiteSales_003() throws Exception
- Throws:
Exception
-
testCognosMDXSuiteSales_004
public void testCognosMDXSuiteSales_004() throws Exception
- Throws:
Exception
-
testCognosMDXSuiteConvertedAdventureWorksToFoodMart_003
public void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_003() throws Exception
- Throws:
Exception
-
testCognosMDXSuiteConvertedAdventureWorksToFoodMart_005
public void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_005() throws Exception
- Throws:
Exception
-
testCognosMDXSuiteConvertedAdventureWorksToFoodMart_006
public void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_006() throws Exception
- Throws:
Exception
-
testCognosMDXSuiteConvertedAdventureWorksToFoodMart_007
public void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_007() throws Exception
- Throws:
Exception
-
_testCognosMDXSuiteConvertedAdventureWorksToFoodMart_009
public void _testCognosMDXSuiteConvertedAdventureWorksToFoodMart_009() throws Exception
- Throws:
Exception
-
_testCognosMDXSuiteConvertedAdventureWorksToFoodMart_012
public void _testCognosMDXSuiteConvertedAdventureWorksToFoodMart_012() throws Exception
- Throws:
Exception
-
testCognosMDXSuiteConvertedAdventureWorksToFoodMart_013
public void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_013() throws Exception
- Throws:
Exception
-
_testCognosMDXSuiteConvertedAdventureWorksToFoodMart_014
public void _testCognosMDXSuiteConvertedAdventureWorksToFoodMart_014() throws Exception
- Throws:
Exception
-
testCognosMDXSuiteConvertedAdventureWorksToFoodMart_015
public void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_015() throws Exception
- Throws:
Exception
-
testCognosMDXSuiteConvertedAdventureWorksToFoodMart_016
public void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_016() throws Exception
- Throws:
Exception
-
testCognosMDXSuiteConvertedAdventureWorksToFoodMart_017
public void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_017() throws Exception
- Throws:
Exception
-
testCognosMDXSuiteConvertedAdventureWorksToFoodMart_020
public void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_020() throws Exception
- Throws:
Exception
-
testCognosMDXSuiteConvertedAdventureWorksToFoodMart_021
public void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_021() throws Exception
- Throws:
Exception
-
testCognosMDXSuiteConvertedAdventureWorksToFoodMart_024
public void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_024() throws Exception
- Throws:
Exception
-
testCognosMDXSuiteConvertedAdventureWorksToFoodMart_028
public void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_028() throws Exception
- Throws:
Exception
-
testCognosMDXSuiteConvertedAdventureWorksToFoodMart_029
public void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_029() throws Exception
- Throws:
Exception
-
testDimensionPropertyForPercentageIssue
public void testDimensionPropertyForPercentageIssue() throws Exception
- Throws:
Exception
-
testNonEmptyWithCognosCalcOneLiteral
public void testNonEmptyWithCognosCalcOneLiteral() throws Exception
- Throws:
Exception
-
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
-
-