Package mondrian.test
Class SteelWheelsSchemaTest
- java.lang.Object
-
- TestCase
-
- mondrian.test.SteelWheelsTestCase
-
- mondrian.test.SteelWheelsSchemaTest
-
public class SteelWheelsSchemaTest extends SteelWheelsTestCase
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSteelWheelsSchemaTest.Mondrian756SchemaProcessor
-
Constructor Summary
Constructors Constructor Description SteelWheelsSchemaTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestBug1285()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.voidtestBugMondrian755()Test case for bug MONDRIAN-755, "Getting drillthrough count results in exception".voidtestBugMondrian756()Test case for bug MONDRIAN-756, "Error in RolapResult.replaceNonAllMembers leads to NPE".voidtestBugMondrian756b()Test case for bug MONDRIAN-756, "Error in RolapResult.replaceNonAllMembers leads to NPE".voidtestBugMondrian805()Test case for bug MONDRIAN-805, "Two dimensions with hasAll=false fail".voidtestBugMondrian935()voidtestDoubleValueCanBeRankedAmongIntegers()voidtestEsr1587()Tests a query that is generated by Analyzer to query members.voidtestMarkets()Test case for Infobright issue where [Markets].[All Markets].[Japan] was not found but [Markets].[All Markets].[JAPAN] was OK.voidtestMeasures()Sanity check, that enumerates the Measures dimension.voidtestMondrian1133()voidtestMondrian1197()Fix for MONDRIAN-1197 Not all members were created the same.voidtestMondrian1252()Members stored in cache after role filtering would get picked up by a different role, resulting in fewer results or none at all.voidtestMondrian1273()voidtestMondrian1360()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.voidtestMondrian1464()This is a test for MONDRIAN-1464 Invalid filter SQL generated on numeric columnvoidtestMondrian1750()This is a test for MONDRIAN-1750 Compound slicer getting applied to CurrentDateMembervoidtestMondrian2411_1()voidtestMondrian2411_2()voidtestMondrian2411_3()voidtestMondrianBug476_770_957()voidtestPropertyWithParameterOfTimestampType()voidtestRangeSortWithNullKeys()This is a test for ANALYZER-1259 Using the range operator on a level with null keys returned weird results.-
Methods inherited from class mondrian.test.SteelWheelsTestCase
createContext, getTestContext
-
-
-
-
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.)
-
testBugMondrian755
public void testBugMondrian755()
Test case for bug MONDRIAN-755, "Getting drillthrough count results in exception".
-
testBugMondrian756
public void testBugMondrian756()
Test case for bug MONDRIAN-756, "Error in RolapResult.replaceNonAllMembers leads to NPE".- See Also:
duplicate bug MONDRIAN-805
-
testBugMondrian756b
public void testBugMondrian756b()
Test case for bug MONDRIAN-756, "Error in RolapResult.replaceNonAllMembers leads to NPE".- See Also:
duplicate bug MONDRIAN-805
-
testBugMondrian805
public void testBugMondrian805()
Test case for bug MONDRIAN-805, "Two dimensions with hasAll=false fail".
-
testMondrianBug476_770_957
public void testMondrianBug476_770_957() throws Exception- Throws:
Exception
-
testBugMondrian935
public void testBugMondrian935()
-
testPropertyWithParameterOfTimestampType
public void testPropertyWithParameterOfTimestampType() throws ExceptionTest case for bug MONDRIAN-626, "DATE type Levels can cause errors with certain JDBC drivers (e.g. Oracle 5/6)".A Parameter type of date or timestamp was causing an exception because those types were not implemented correctly.
- Throws:
Exception- on error
-
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 ExceptionMembers 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 ExceptionThis is a test for MONDRIAN-1750 Compound slicer getting applied to CurrentDateMember- Throws:
Exception
-
-