Examples of executeExprRaw()


Examples of mondrian.test.TestContext.executeExprRaw()

    public void testOrdinal() {
        final TestContext testContext =
            getTestContext().withCube("Sales Ragged");
        Cell cell =
            testContext.executeExprRaw(
                "[Store].[All Stores].[Vatican].ordinal");
        assertEquals(
            "Vatican is at level 1.",
            1,
            ((Number)cell.getValue()).intValue());
View Full Code Here

Examples of mondrian.test.TestContext.executeExprRaw()

        assertEquals(
            "Vatican is at level 1.",
            1,
            ((Number)cell.getValue()).intValue());

        cell = testContext.executeExprRaw(
            "[Store].[All Stores].[USA].[Washington].ordinal");
        assertEquals(
            "Washington is at level 3.",
            3,
            ((Number) cell.getValue()).intValue());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.