public class Olap4jTest extends FoodMartTestCase
Test cases in this test could, in principle, be moved to olap4j's test.
FoodMartTestCase.QueryAndResult
propSaver
Constructor and Description |
---|
Olap4jTest() |
Olap4jTest(String name) |
Modifier and Type | Method and Description |
---|---|
(package private) static void |
closeOnCompletion(Object statement)
Calls
Statement.closeOnCompletion() via reflection. |
(package private) static boolean |
isClosed(Object statement)
Calls
Statement.isClosed() or
ResultSet.isClosed() via reflection. |
void |
testAnnotation() |
void |
testCellProperties() |
void |
testCloseOnCompletion() |
void |
testFormatString() |
void |
testLevelProperties()
Tests that a property that is not a standard olap4j property but is a
Mondrian-builtin property (viz, "FORMAT_EXP") is included among a level's
properties.
|
void |
testLimit()
Same case as
BasicQueryTest.testQueryIterationLimit() , but this
time, check that the OlapException has the required SQLstate. |
void |
testParse() |
void |
testSameMemberByVariousMeans()
Test case for bug
MONDRIAN-920, "olap4j: inconsistent measure's member type".
|
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, failNotEquals, failNotSame, failSame
public Olap4jTest()
public Olap4jTest(String name)
public void testSameMemberByVariousMeans() throws SQLException
SQLException
- on errorpublic void testAnnotation() throws SQLException
SQLException
public void testFormatString() throws SQLException
SQLException
public void testLevelProperties() throws SQLException
SQLException
- on errorpublic void testCellProperties() throws SQLException
SQLException
public void testLimit() throws SQLException
BasicQueryTest.testQueryIterationLimit()
, but this
time, check that the OlapException has the required SQLstate.SQLException
- on errorstatic boolean isClosed(Object statement) throws Exception
Statement.isClosed()
or
ResultSet.isClosed()
via reflection.statement
- Statement or result setException
- on errorstatic void closeOnCompletion(Object statement) throws Exception
Statement.closeOnCompletion()
via reflection.statement
- Statement or result setException
- on errorpublic void testParse() throws SQLException
SQLException