|
|||||||||
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.NamedSetTest
public class NamedSetTest
Unit-test for named sets, in all their various forms: WITH SET
,
sets defined against cubes, virtual cubes, and at the schema level.
Nested Class Summary | |
---|---|
static class |
NamedSetTest.MixedNamedSetSchemaProcessor
Dynamic schema processor which adds a named set which has a syntax error. |
static class |
NamedSetTest.NamedSetsInCubeAndSchemaProcessor
Dynamic schema processor which adds two named sets to a the first cube in a schema. |
static class |
NamedSetTest.NamedSetsInCubeProcessor
Dynamic schema processor which adds two named sets to a the first cube in a schema. |
Nested classes/interfaces inherited from class mondrian.test.FoodMartTestCase |
---|
FoodMartTestCase.QueryAndResult |
Field Summary |
---|
Fields inherited from class mondrian.test.FoodMartTestCase |
---|
propSaver |
Constructor Summary | |
---|---|
NamedSetTest()
|
|
NamedSetTest(String name)
|
Method Summary | |
---|---|
void |
_testXxx()
|
void |
testAggOnCalcMember()
|
void |
testBadNamedSet()
|
void |
testContextSensitiveNamedSet()
|
void |
testCurrentAndCurrentOrdinal()
|
void |
testGenerate()
|
void |
testHierarchizeNamedSetImmutable()
Test csae for bug 1971080, "hierarchize(named set) causes attempt to sort immutable list". |
void |
testIntrinsic()
Set defined using filter expression. |
void |
testNamedSet()
Set defined in query according measures, hence context-dependent. |
void |
testNamedSetAgainstCube()
|
void |
testNamedSetAgainstSchema()
|
void |
testNamedSetAndUnion()
|
void |
testNamedSetAsList()
Set defined by explicit tlist in query. |
void |
testNamedSetCrossJoin()
Tests a named set defined in a query which consists of tuples. |
void |
testNamedSetDependencies()
Tests that named sets never depend on anything. |
void |
testNamedSetMustBeSet()
|
void |
testNamedSetOnMember()
Set defined on top of calc member. |
void |
testNamedSetRangeInSlicer()
Test case for issue on developers list which involves a named set and a range in the WHERE clause. |
void |
testNamedSetRangeInSlicerPrimed()
Variant of testNamedSetRangeInSlicer() that calls
CompoundSlicerTest.testBugMondrian899() to
prime the cache and therefore fails even when run standalone. |
void |
testNamedSetsMixedWithCalcMembers()
|
void |
testNamedSetUsedInCrossJoin()
Set used inside expression (Crossjoin). |
void |
testOrderedNamedSet()
|
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 NamedSetTest()
public NamedSetTest(String name)
Method Detail |
---|
public void testNamedSet()
public void testNamedSetOnMember()
public void testNamedSetAsList()
public void testIntrinsic()
public void testNamedSetCrossJoin()
public void _testXxx()
public void testNamedSetUsedInCrossJoin()
public void testAggOnCalcMember()
public void testContextSensitiveNamedSet()
public void testOrderedNamedSet()
public void testGenerate()
public void testNamedSetAgainstCube()
public void testNamedSetAgainstSchema()
public void testBadNamedSet()
public void testNamedSetMustBeSet()
public void testNamedSetsMixedWithCalcMembers()
public void testNamedSetAndUnion()
public void testNamedSetDependencies()
public void testHierarchizeNamedSetImmutable()
public void testCurrentAndCurrentOrdinal()
public void testNamedSetRangeInSlicer()
public void testNamedSetRangeInSlicerPrimed()
testNamedSetRangeInSlicer()
that calls
CompoundSlicerTest.testBugMondrian899()
to
prime the cache and therefore fails even when run standalone.
Test case for MONDRIAN-1203, "Error 'Failed to load all aggregations after 10 passes' while evaluating composite slicer".
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |