|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase mondrian.test.FoodMartTestCase mondrian.test.ScenarioTest
public class ScenarioTest
Test for writeback functionality.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class mondrian.test.FoodMartTestCase |
---|
FoodMartTestCase.QueryAndResult |
Field Summary |
---|
Fields inherited from class mondrian.test.FoodMartTestCase |
---|
propSaver |
Constructor Summary | |
---|---|
ScenarioTest()
|
Method Summary | |
---|---|
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 |
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. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, toString |
Methods inherited from class junit.framework.Assert |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ScenarioTest()
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |