/** 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()); }
/** 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()); }