Skip to content

Commit

Permalink
[MONDRIAN-2342] - Xmla response does not contain properties in tuple …
Browse files Browse the repository at this point in the history
…section

* Whenever an element does not exist, print the affected property in tuple section of xmla response.
  • Loading branch information
cravobranco committed Oct 11, 2018
1 parent f8a3eb5 commit 15a7cd9
Show file tree
Hide file tree
Showing 3 changed files with 421 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// http://www.eclipse.org/legal/epl-v10.html.
// You must accept the terms of that agreement to use this software.
//
// Copyright (C) 2005-2017 Hitachi Vantara and others
// Copyright (C) 2005-2018 Hitachi Vantara and others
// All Rights Reserved.
*/
package mondrian.xmla;
Expand All @@ -24,15 +24,19 @@
public class XmlaDimensionPropertiesTest extends XmlaBaseTestCase {

public void testOneHierarchyProperties() throws Exception {
executeTest();
executeTest("HR");
}

public void testTwoHierarchiesProperties() throws Exception {
executeTest();
executeTest("HR");
}

private void executeTest() throws Exception {
TestContext context = getTestContext().withCube("HR");
public void testMondrian2342() throws Exception {
executeTest("Sales");
}

private void executeTest(String cubeName) throws Exception {
TestContext context = getTestContext().withCube(cubeName);
String requestType = "EXECUTE";
Properties props = getDefaultRequestProperties(requestType);
doTest(requestType, props, context);
Expand Down
Loading

0 comments on commit 15a7cd9

Please sign in to comment.