Package mondrian.test

Class SteelWheelsSchemaTest

    • Constructor Detail

      • SteelWheelsSchemaTest

        public SteelWheelsSchemaTest()
    • Method Detail

      • testMeasures

        public void testMeasures()
        Sanity check, that enumerates the Measures dimension.
      • testMondrian1273

        public void testMondrian1273()
      • testMarkets

        public void testMarkets()
        Test case for Infobright issue where [Markets].[All Markets].[Japan] was not found but [Markets].[All Markets].[JAPAN] was OK. (We've since dropped 'All Xxx' from member unique names.)
      • testMondrianBug476_770_957

        public void testMondrianBug476_770_957()
                                        throws Exception
        Throws:
        Exception
      • testBugMondrian935

        public void testBugMondrian935()
      • testEsr1587

        public void testEsr1587()
        Tests a query that is generated by Analyzer to query members. It should only execute one SQL query, basically, "select year_id from time group by year_id order by year_id". It should definitely not join to fact table.
      • testMondrian1133

        public void testMondrian1133()
      • testMondrian1197

        public void testMondrian1197()
        Fix for MONDRIAN-1197 Not all members were created the same. Some were using null keys, others RolapUtil.sqlNullValue. I've standardized the code with RolapUtil.sqlNullValue and added assertions to verify the change. I've also created a bunch of tests with null keys and I sort them every which way to verify the correct ordering.
      • testRangeSortWithNullKeys

        public void testRangeSortWithNullKeys()
        This is a test for ANALYZER-1259 Using the range operator on a level with null keys returned weird results. This was because of a confusion of the ordering of null keys.
      • testBug1285

        public void testBug1285()
        This is a test for MONDRIAN-1285 On MS SQL server only the MDX query would throw java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Double keys.
      • testDoubleValueCanBeRankedAmongIntegers

        public void testDoubleValueCanBeRankedAmongIntegers()
      • testMondrian1360

        public void testMondrian1360()
        This is a test for MONDRIAN-1360 Member Unique Name is incorrect for a calculated member on a shared dimension whose name is different from the dimension it is based on.
      • testMondrian1464

        public void testMondrian1464()
        This is a test for MONDRIAN-1464 Invalid filter SQL generated on numeric column
      • testMondrian1252

        public void testMondrian1252()
                              throws Exception
        Members stored in cache after role filtering would get picked up by a different role, resulting in fewer results or none at all. On .Members in NonEmpty, with mondrian.native.nonempty.enabled=true
        Throws:
        Exception
      • testMondrian1750

        public void testMondrian1750()
                              throws Exception
        This is a test for MONDRIAN-1750 Compound slicer getting applied to CurrentDateMember
        Throws:
        Exception
      • testMondrian2411_1

        public void testMondrian2411_1()
                                throws Exception
        Throws:
        Exception
      • testMondrian2411_2

        public void testMondrian2411_2()
                                throws Exception
        Throws:
        Exception
      • testMondrian2411_3

        public void testMondrian2411_3()
                                throws Exception
        Throws:
        Exception