|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.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 |
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, failNotEquals, failNotSame, failSame |
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 java.sql.SQLException
java.sql.SQLException
public void testSetCell() throws java.sql.SQLException
java.sql.SQLException
public void testSetCellWithoutScenarioFails() throws java.sql.SQLException
java.sql.SQLException
public void testSetCellCalcError() throws java.sql.SQLException
java.sql.SQLException
public void testUnsupportedAllocationPolicyFails() throws java.sql.SQLException
java.sql.SQLException
public void testEqualIncrement() throws java.sql.SQLException
java.sql.SQLException
public void testEqualAllocation() throws java.sql.SQLException
java.sql.SQLException
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |