|
|||||||||
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.olap.ParserTest
public class ParserTest
Tests the MDX parser.
Nested Class Summary | |
---|---|
static class |
ParserTest.TestParser
|
Field Summary | |
---|---|
(package private) static BuiltinFunTable |
funTable
|
Fields inherited from class mondrian.test.FoodMartTestCase |
---|
propSaver |
Constructor Summary | |
---|---|
ParserTest(String name)
|
Method Summary | |
---|---|
void |
testAsPrecedence()
Test case for bug MONDRIAN-648, "AS operator has lower precedence than required by MDX specification". |
void |
testAxisParsing()
|
void |
testBangFunction()
|
void |
testCaseSwitch()
|
void |
testCaseTest()
|
void |
testCast()
|
void |
testCellProperties()
|
void |
testCloneQuery()
|
void |
testDimensionProperties()
|
void |
testEmptyExpr()
|
void |
testId()
|
void |
testIs()
|
void |
testIsEmpty()
|
void |
testIsNull()
|
void |
testLargePrecision()
Testcase for bug MONDRIAN-272, "High precision number in MDX causes overflow". |
void |
testMemberOnAxis()
If an axis expression is a member, implicitly convert it to a set. |
void |
testMultipleAxes()
|
void |
testMultiplication()
Verifies that calculated measures made of several '*' operators can resolve them correctly. |
void |
testNegativeCases()
|
void |
testNull()
|
void |
testNumbers()
Tests parsing of numbers. |
void |
testScannerPunc()
|
void |
testSetExpr()
Test case for bug MONDRIAN-306, "Parser should not require braces around range op in WITH SET". |
void |
testUnparse()
|
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 |
Field Detail |
---|
static final BuiltinFunTable funTable
Constructor Detail |
---|
public ParserTest(String name)
Method Detail |
---|
public void testAxisParsing() throws Exception
Exception
public void testNegativeCases() throws Exception
Exception
public void testScannerPunc()
public void testUnparse()
public void testMultipleAxes() throws Exception
Exception
public void testMemberOnAxis()
public void testCaseTest()
public void testCaseSwitch()
public void testSetExpr()
public void testDimensionProperties()
public void testCellProperties()
public void testIsEmpty()
public void testIs()
public void testIsNull()
public void testNull()
public void testCast()
public void testMultiplication()
public void testBangFunction()
public void testId()
public void testCloneQuery()
public void testNumbers()
public void testLargePrecision()
public void testEmptyExpr()
public void testAsPrecedence()
Currently that bug is not fixed. We give the AS operator low precedence, so CAST works as it should but 'expr AS namedSet' does not.
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |