Exemplo n.º 1
0
  @Test
  public final void testGetAllMembers() throws SaikuOlapException {
    List<SimpleCubeElement> members =
        olapMetaExplorer.getAllMembers(
            olapMetaExplorer.getAllCubes().get(0), "Department", "Department Description");

    assertNotNull(members);

    assertEquals(12, members.size());
  }
Exemplo n.º 2
0
  @Test
  public final void testGetAllMembersUniqueNameLevel() throws SaikuOlapException {
    List<SimpleCubeElement> members =
        olapMetaExplorer.getAllMembers(
            olapMetaExplorer.getAllCubes().get(0),
            "Department",
            "[Department].[Department].[(All)]");

    assertNotNull(members);

    assertEquals(1, members.size());
  }