示例#1
0
  /** Make sure you can grab a cube from a specified connection. */
  @Test
  public final void testGetCubesSingleConnection() throws SaikuOlapException {
    List<SaikuCube> output = olapMetaExplorer.getCubes("test");

    assertNotNull(output);

    assertEquals("HR", output.get(0).getName());
  }
示例#2
0
  /** Make sure you can grab a cube from a specified connection. */
  @Test
  public final void testGetCubesMultipleConnections() throws SaikuOlapException {
    List<String> cubes = new ArrayList<>();
    cubes.add("test");
    List<SaikuCube> output = olapMetaExplorer.getCubes(cubes);

    assertNotNull(output);

    assertEquals("HR", output.get(0).getName());
  }