mondrian.xmla
Class XmlaCognosTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
mondrian.test.FoodMartTestCase
mondrian.xmla.XmlaBaseTestCase
mondrian.xmla.XmlaCognosTest
- All Implemented Interfaces:
- junit.framework.Test
public class XmlaCognosTest
- extends XmlaBaseTestCase
Test suite for compatibility of Mondrian XMLA with Cognos8.2 connected via
Simba O2X bridge.
- Author:
- Thiyagu, Shishir
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 |
Methods inherited from class mondrian.xmla.XmlaBaseTestCase |
doTest, doTest, doTest, doTest, doTestInline, doTestInline, doTests, doTestsJson, fileToDocument, fileToString, filterConnectString, generateExpectedString, generateRequestString, getCatalogNameUrls, getDefaultRequestProperties, getServlet, getSessionId, helperTest, helperTestExpect, 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, warehouseMembersCanadaMexicoUsa |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, toString |
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 |
XmlaCognosTest
public XmlaCognosTest()
XmlaCognosTest
public XmlaCognosTest(String name)
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 class XmlaBaseTestCase
- Parameters:
testCaseName
- Name of current test case, e.g. "testFoo"filename
- Name of requested content, e.g. "${request}"content
- Content
- Returns:
- Modified content
testCognosMDXSuiteHR_001
public void testCognosMDXSuiteHR_001()
throws Exception
- Throws:
Exception
testCognosMDXSuiteHR_002
public void testCognosMDXSuiteHR_002()
throws Exception
- Throws:
Exception
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
testNegativeSolveOrder
public void testNegativeSolveOrder()
throws Exception
- Throws:
Exception
testNonEmptyWithCognosCalcOneLiteral
public void testNonEmptyWithCognosCalcOneLiteral()
throws Exception
- Throws:
Exception
testCellProperties
public void testCellProperties()
throws Exception
- Throws:
Exception
testCrossJoin
public void testCrossJoin()
throws Exception
- Throws:
Exception
testWithFilterOn3rdAxis
public void testWithFilterOn3rdAxis()
throws Exception
- Throws:
Exception
testWithSorting
public void testWithSorting()
throws Exception
- Throws:
Exception
testWithFilter
public void testWithFilter()
throws Exception
- Throws:
Exception
testWithAggregation
public void testWithAggregation()
throws Exception
- Throws:
Exception
getDiffRepos
protected DiffRepository getDiffRepos()
- Specified by:
getDiffRepos
in class XmlaBaseTestCase
getServletCallbackClass
protected Class<? extends XmlaRequestCallback> getServletCallbackClass()
- Specified by:
getServletCallbackClass
in class XmlaBaseTestCase
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