Package mondrian.xmla

Class XmlaMetaDataConstraintsTest


  • public class XmlaMetaDataConstraintsTest
    extends XmlaBaseTestCase
    This test creates 2 catalogs and constraints on one of them. Then it runs a few queries to check that the filtering occurs as expected.
    • Constructor Detail

      • XmlaMetaDataConstraintsTest

        public XmlaMetaDataConstraintsTest()
    • Method Detail

      • setUp

        protected void setUp()
                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testDBSchemataFiltered

        public void testDBSchemataFiltered()
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testDBSchemataFilteredByRestraints

        public void testDBSchemataFilteredByRestraints()
                                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCatalogsFiltered

        public void testCatalogsFiltered()
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCatalogsFilteredByRestraints

        public void testCatalogsFilteredByRestraints()
                                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCubesFiltered

        public void testCubesFiltered()
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCubesFilteredByRestraints

        public void testCubesFilteredByRestraints()
                                           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