public class ScenarioTest extends FoodMartTestCase
FoodMartTestCase.QueryAndResultpropSaver| Constructor and Description | 
|---|
ScenarioTest()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
testBugMondrian815()
Test case for
 MONDRIAN-815,
 "NPE from query if use a scenario and one of the cells is empty/null". 
 | 
void | 
testCreateScenario()
Tests creating a scenario and setting a connection's active scenario. 
 | 
void | 
testEqualAllocation()
Tests setting cells by the "equal allocation" allocation policy. 
 | 
void | 
testEqualIncrement()
Tests setting cells by the "equal increment" allocation policy. 
 | 
void | 
testScenarioPropertyBug1496()  | 
void | 
testSetCell()
Tests setting the value of one cell. 
 | 
void | 
testSetCellCalcError()
Tests that setting a calculated member is illegal. 
 | 
void | 
testSetCellWithoutScenarioFails()
Tests that setting a cell's value without an active scenario is illegal. 
 | 
void | 
testUnsupportedAllocationPolicyFails()
Tests that allocation policies that are not supported give an error. 
 | 
allMember, assertAxisReturns, assertAxisThrows, assertBooleanExprReturns, assertExprReturns, assertExprThrows, assertQueriesReturnSimilarResults, assertQueryReturns, assertQueryThrows, assertSize, cubeByName, execute, executeExpr, executeQuery, executeSingletonAxis, genderMembersIncludingAll, getConnection, getDimensionWithName, getTestContext, isDefaultNullMemberRepresentation, isGroupingSetsSupported, member, productMembersPotScrubbersPotsAndPans, storeMembersCAAndOR, storeMembersUsaAndCanada, tearDown, warehouseMembersCanadaMexicoUsacountTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, toStringassertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, failpublic void testCreateScenario()
                        throws SQLException
SQLExceptionpublic void testSetCell()
                 throws SQLException
SQLExceptionpublic void testSetCellWithoutScenarioFails()
                                     throws SQLException
SQLExceptionpublic void testSetCellCalcError()
                          throws SQLException
SQLExceptionpublic void testUnsupportedAllocationPolicyFails()
                                          throws SQLException
SQLExceptionpublic void testEqualIncrement()
                        throws SQLException
SQLExceptionpublic void testEqualAllocation()
                         throws SQLException
SQLExceptionpublic void testBugMondrian815()
                        throws SQLException
SQLExceptionpublic void testScenarioPropertyBug1496()