public class ScenarioTest extends FoodMartTestCase
FoodMartTestCase.QueryAndResult
propSaver
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, warehouseMembersCanadaMexicoUsa
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, toString
assertEquals, 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, fail
public void testCreateScenario() throws SQLException
SQLException
public void testSetCell() throws SQLException
SQLException
public void testSetCellWithoutScenarioFails() throws SQLException
SQLException
public void testSetCellCalcError() throws SQLException
SQLException
public void testUnsupportedAllocationPolicyFails() throws SQLException
SQLException
public void testEqualIncrement() throws SQLException
SQLException
public void testEqualAllocation() throws SQLException
SQLException
public void testBugMondrian815() throws SQLException
SQLException
public void testScenarioPropertyBug1496()