Package mondrian.olap

Examples of mondrian.olap.MondrianServer.shutdown()


        TestContext testContext = TestContext.instance();
        final MondrianServer server =
            MondrianServer.forConnection(testContext.getConnection());
        final int id = server.getId();
        assertNotNull(id);
        server.shutdown();
    }

    /**
     * Tests a server with its own repository.
     */
 
View Full Code Here


            MondrianServer.createWithRepository(
                new StringRepositoryContentFinder("foo bar"),
                null);
        final int id = server.getId();
        assertNotNull(id);
        server.shutdown();
    }

    /**
     * Tests a server that reads its repository from a file URL.
     */
 
View Full Code Here

            server.getConnection("FoodMart", "FoodMart", null);
        final NamedList<Catalog> catalogs =
            connection.getOlapCatalogs();
        assertEquals(1, catalogs.size());
        assertEquals("FoodMart", catalogs.get(0).getName());
        server.shutdown();
    }
}

// End MondrianServerTest.java
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.