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 class
SteelWheelsSchemaTest.Mondrian756SchemaProcessor
-
Constructor Summary
Constructors Constructor Description SteelWheelsSchemaTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.void
testBugMondrian755()
Test case for bug MONDRIAN-755, "Getting drillthrough count results in exception".void
testBugMondrian756()
Test case for bug MONDRIAN-756, "Error in RolapResult.replaceNonAllMembers leads to NPE".void
testBugMondrian756b()
Test case for bug MONDRIAN-756, "Error in RolapResult.replaceNonAllMembers leads to NPE".void
testBugMondrian805()
Test case for bug MONDRIAN-805, "Two dimensions with hasAll=false fail".void
testBugMondrian935()
void
testDoubleValueCanBeRankedAmongIntegers()
void
testEsr1587()
Tests a query that is generated by Analyzer to query members.void
testMarkets()
Test case for Infobright issue where [Markets].[All Markets].[Japan] was not found but [Markets].[All Markets].[JAPAN] was OK.void
testMeasures()
Sanity check, that enumerates the Measures dimension.void
testMondrian1133()
void
testMondrian1197()
Fix for MONDRIAN-1197 Not all members were created the same.void
testMondrian1252()
Members stored in cache after role filtering would get picked up by a different role, resulting in fewer results or none at all.void
testMondrian1273()
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.void
testMondrian1464()
This is a test for MONDRIAN-1464 Invalid filter SQL generated on numeric columnvoid
testMondrian1750()
This is a test for MONDRIAN-1750 Compound slicer getting applied to CurrentDateMembervoid
testMondrian2411_1()
void
testMondrian2411_2()
void
testMondrian2411_3()
void
testMondrianBug476_770_957()
void
testPropertyWithParameterOfTimestampType()
void
testRangeSortWithNullKeys()
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 Exception
Test 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 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
-
-