Package mondrian.xmla

Class XmlaBasicTest


  • public class XmlaBasicTest
    extends XmlaBaseTestCase
    Test XML/A functionality.
    Author:
    Richard M. Emberson
    • Constructor Detail

      • XmlaBasicTest

        public XmlaBasicTest()
      • XmlaBasicTest

        public XmlaBasicTest​(String name)
    • Method Detail

      • testDSchemaRowsets

        public void testDSchemaRowsets()
                                throws Exception
        Throws:
        Exception
      • _testDBProviderTypes

        public void _testDBProviderTypes()
                                  throws Exception
        Throws:
        Exception
      • testMDCubesDeepJson

        public void testMDCubesDeepJson()
                                 throws Exception
        Throws:
        Exception
      • testMDDimensionsShared

        public void testMDDimensionsShared()
                                    throws Exception
        Throws:
        Exception
      • testMDFunctions

        public void testMDFunctions()
                             throws Exception
        Tests the output of the MDSCHEMA_FUNCTIONS call.
        Throws:
        Exception - on error
      • testMDLevelsAccessControlled

        public void testMDLevelsAccessControlled()
                                          throws Exception
        Throws:
        Exception
      • testMDMembersMulti

        public void testMDMembersMulti()
                                throws Exception
        Throws:
        Exception
      • testMDMembersTreeop

        public void testMDMembersTreeop()
                                 throws Exception
        Throws:
        Exception
      • testApproxRowCountOverridesCountCallsToDatabase

        public void testApproxRowCountOverridesCountCallsToDatabase()
                                                             throws Exception
        Throws:
        Exception
      • testApproxRowCountInHierarchyOverridesCountCallsToDatabase

        public void testApproxRowCountInHierarchyOverridesCountCallsToDatabase()
                                                                        throws Exception
        Throws:
        Exception
      • testDrillThroughMaxRows

        public void testDrillThroughMaxRows()
                                     throws Exception
        Tests an 'DRILLTHROUGH SELECT' statement with a 'MAXROWS' clause.
        Throws:
        Exception - on error
      • testDrillThrough

        public void testDrillThrough()
                              throws Exception
        Tests an 'DRILLTHROUGH SELECT' statement with no 'MAXROWS' clause.
        Throws:
        Exception - on error
      • testDrillThroughZeroDimensionalQuery

        public void testDrillThroughZeroDimensionalQuery()
                                                  throws Exception
        Tests an 'DRILLTHROUGH SELECT' statement with a zero-dimensional query, that is, a query with 'SELECT FROM', and no axes.
        Throws:
        Exception - on error
      • 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
      • testExecuteSlicerJson

        public void testExecuteSlicerJson()
                                   throws Exception
        Throws:
        Exception
      • testExecuteSlicer_ContentDataOmitDefaultSlicer

        public void testExecuteSlicer_ContentDataOmitDefaultSlicer()
                                                            throws Exception
        Throws:
        Exception
      • testExecuteNoSlicer_ContentDataOmitDefaultSlicer

        public void testExecuteNoSlicer_ContentDataOmitDefaultSlicer()
                                                              throws Exception
        Throws:
        Exception
      • testExecuteSlicer_ContentDataIncludeDefaultSlicer

        public void testExecuteSlicer_ContentDataIncludeDefaultSlicer()
                                                               throws Exception
        Throws:
        Exception
      • testExecuteNoSlicer_ContentDataIncludeDefaultSlicer

        public void testExecuteNoSlicer_ContentDataIncludeDefaultSlicer()
                                                                 throws Exception
        Throws:
        Exception
      • testExecuteEmptySlicer_ContentDataIncludeDefaultSlicer

        public void testExecuteEmptySlicer_ContentDataIncludeDefaultSlicer()
                                                                    throws Exception
        Throws:
        Exception
      • testExecuteEmptySlicer_ContentDataOmitDefaultSlicer

        public void testExecuteEmptySlicer_ContentDataOmitDefaultSlicer()
                                                                 throws Exception
        Throws:
        Exception
      • testExecuteWithoutCellProperties

        public void testExecuteWithoutCellProperties()
                                              throws Exception
        Throws:
        Exception
      • testExecuteWithCellProperties

        public void testExecuteWithCellProperties()
                                           throws Exception
        Throws:
        Exception
      • testExecuteWithMemberKeyDimensionPropertyForMemberWithoutKey

        public void testExecuteWithMemberKeyDimensionPropertyForMemberWithoutKey()
                                                                          throws Exception
        Throws:
        Exception
      • testExecuteWithMemberKeyDimensionPropertyForMemberWithKey

        public void testExecuteWithMemberKeyDimensionPropertyForMemberWithKey()
                                                                       throws Exception
        Throws:
        Exception
      • testExecuteWithMemberKeyDimensionPropertyForAllMember

        public void testExecuteWithMemberKeyDimensionPropertyForAllMember()
                                                                   throws Exception
        Throws:
        Exception
      • testExecuteWithKeyDimensionProperty

        public void testExecuteWithKeyDimensionProperty()
                                                 throws Exception
        Throws:
        Exception
      • testExecuteWithDimensionProperties

        public void testExecuteWithDimensionProperties()
                                                throws Exception
        Throws:
        Exception
      • testExecuteCrossjoinRole

        public void testExecuteCrossjoinRole()
                                      throws Exception
        This test returns the same result as testExecuteCrossjoin above except that the Role used disables accessing [Customers].[All Customers].[Mexico].
        Throws:
        Exception
      • testExecuteBugMondrian762

        public void testExecuteBugMondrian762()
                                       throws Exception
        Throws:
        Exception
      • testExecuteBugMondrian1316

        public void testExecuteBugMondrian1316()
                                        throws Exception
        Throws:
        Exception