mondrian.xmla
Class XmlaCognosTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by mondrian.test.FoodMartTestCase
              extended by mondrian.xmla.XmlaBaseTestCase
                  extended by mondrian.xmla.XmlaCognosTest
All Implemented Interfaces:
Test

public class XmlaCognosTest
extends XmlaBaseTestCase

Test suite for compatibility of Mondrian XMLA with Cognos8.2 connected via Simba O2X bridge.

Version:
$Id: //open/mondrian/testsrc/main/mondrian/xmla/XmlaCognosTest.java#11 $
Author:
Thiyagu, Shishir

Nested Class Summary
 
Nested classes/interfaces inherited from class mondrian.xmla.XmlaBaseTestCase
XmlaBaseTestCase.Action, XmlaBaseTestCase.CallBack
 
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, FORMAT_MULTI_DIMENSIONAL, FORMAT_PROP, HR_CUBE, LAST_SCHEMA_UPDATE_DATE, LAST_SCHEMA_UPDATE_DATE_PROP, REQUEST_TYPE_PROP, SALES_CUBE, SESSION_ID_PROP
 
Fields inherited from class mondrian.test.FoodMartTestCase
propSaver
 
Constructor Summary
XmlaCognosTest()
           
XmlaCognosTest(java.lang.String name)
           
 
Method Summary
 void _testCognosMDXSuiteConvertedAdventureWorksToFoodMart_009()
           
 void _testCognosMDXSuiteConvertedAdventureWorksToFoodMart_012()
           
 void _testCognosMDXSuiteConvertedAdventureWorksToFoodMart_014()
           
protected  DiffRepository getDiffRepos()
           
protected  java.lang.Class<? extends XmlaRequestCallback> getServletCallbackClass()
           
protected  java.lang.String getSessionId(XmlaBaseTestCase.Action action)
          Creates, retrieves or clears the session id for this test.
 void testCellProperties()
           
 void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_003()
           
 void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_005()
           
 void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_006()
           
 void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_007()
           
 void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_013()
           
 void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_015()
           
 void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_016()
           
 void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_017()
           
 void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_020()
           
 void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_021()
           
 void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_024()
           
 void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_028()
           
 void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_029()
           
 void testCognosMDXSuiteHR_001()
           
 void testCognosMDXSuiteHR_002()
           
 void testCognosMDXSuiteSales_001()
           
 void testCognosMDXSuiteSales_002()
           
 void testCognosMDXSuiteSales_003()
           
 void testCognosMDXSuiteSales_004()
           
 void testCrossJoin()
           
 void testDimensionPropertyForPercentageIssue()
           
 void testNegativeSolveOrder()
           
 void testNonEmptyWithCognosCalcOneLiteral()
           
 void testWithAggregation()
           
 void testWithFilter()
           
 void testWithFilterOn3rdAxis()
           
 void testWithSorting()
           
 
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.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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XmlaCognosTest

public XmlaCognosTest()

XmlaCognosTest

public XmlaCognosTest(java.lang.String name)
Method Detail

testCognosMDXSuiteHR_001

public void testCognosMDXSuiteHR_001()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testCognosMDXSuiteHR_002

public void testCognosMDXSuiteHR_002()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testCognosMDXSuiteSales_001

public void testCognosMDXSuiteSales_001()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testCognosMDXSuiteSales_002

public void testCognosMDXSuiteSales_002()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testCognosMDXSuiteSales_003

public void testCognosMDXSuiteSales_003()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testCognosMDXSuiteSales_004

public void testCognosMDXSuiteSales_004()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testCognosMDXSuiteConvertedAdventureWorksToFoodMart_003

public void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_003()
                                                             throws java.lang.Exception
Throws:
java.lang.Exception

testCognosMDXSuiteConvertedAdventureWorksToFoodMart_005

public void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_005()
                                                             throws java.lang.Exception
Throws:
java.lang.Exception

testCognosMDXSuiteConvertedAdventureWorksToFoodMart_006

public void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_006()
                                                             throws java.lang.Exception
Throws:
java.lang.Exception

testCognosMDXSuiteConvertedAdventureWorksToFoodMart_007

public void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_007()
                                                             throws java.lang.Exception
Throws:
java.lang.Exception

_testCognosMDXSuiteConvertedAdventureWorksToFoodMart_009

public void _testCognosMDXSuiteConvertedAdventureWorksToFoodMart_009()
                                                              throws java.lang.Exception
Throws:
java.lang.Exception

_testCognosMDXSuiteConvertedAdventureWorksToFoodMart_012

public void _testCognosMDXSuiteConvertedAdventureWorksToFoodMart_012()
                                                              throws java.lang.Exception
Throws:
java.lang.Exception

testCognosMDXSuiteConvertedAdventureWorksToFoodMart_013

public void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_013()
                                                             throws java.lang.Exception
Throws:
java.lang.Exception

_testCognosMDXSuiteConvertedAdventureWorksToFoodMart_014

public void _testCognosMDXSuiteConvertedAdventureWorksToFoodMart_014()
                                                              throws java.lang.Exception
Throws:
java.lang.Exception

testCognosMDXSuiteConvertedAdventureWorksToFoodMart_015

public void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_015()
                                                             throws java.lang.Exception
Throws:
java.lang.Exception

testCognosMDXSuiteConvertedAdventureWorksToFoodMart_016

public void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_016()
                                                             throws java.lang.Exception
Throws:
java.lang.Exception

testCognosMDXSuiteConvertedAdventureWorksToFoodMart_017

public void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_017()
                                                             throws java.lang.Exception
Throws:
java.lang.Exception

testCognosMDXSuiteConvertedAdventureWorksToFoodMart_020

public void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_020()
                                                             throws java.lang.Exception
Throws:
java.lang.Exception

testCognosMDXSuiteConvertedAdventureWorksToFoodMart_021

public void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_021()
                                                             throws java.lang.Exception
Throws:
java.lang.Exception

testCognosMDXSuiteConvertedAdventureWorksToFoodMart_024

public void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_024()
                                                             throws java.lang.Exception
Throws:
java.lang.Exception

testCognosMDXSuiteConvertedAdventureWorksToFoodMart_028

public void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_028()
                                                             throws java.lang.Exception
Throws:
java.lang.Exception

testCognosMDXSuiteConvertedAdventureWorksToFoodMart_029

public void testCognosMDXSuiteConvertedAdventureWorksToFoodMart_029()
                                                             throws java.lang.Exception
Throws:
java.lang.Exception

testDimensionPropertyForPercentageIssue

public void testDimensionPropertyForPercentageIssue()
                                             throws java.lang.Exception
Throws:
java.lang.Exception

testNegativeSolveOrder

public void testNegativeSolveOrder()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testNonEmptyWithCognosCalcOneLiteral

public void testNonEmptyWithCognosCalcOneLiteral()
                                          throws java.lang.Exception
Throws:
java.lang.Exception

testCellProperties

public void testCellProperties()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testCrossJoin

public void testCrossJoin()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testWithFilterOn3rdAxis

public void testWithFilterOn3rdAxis()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testWithSorting

public void testWithSorting()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testWithFilter

public void testWithFilter()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testWithAggregation

public void testWithAggregation()
                         throws java.lang.Exception
Throws:
java.lang.Exception

getDiffRepos

protected DiffRepository getDiffRepos()
Specified by:
getDiffRepos in class XmlaBaseTestCase

getServletCallbackClass

protected java.lang.Class<? extends XmlaRequestCallback> getServletCallbackClass()
Specified by:
getServletCallbackClass in class XmlaBaseTestCase

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

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads