public void testNegativeSolveOrder() throws Exception {
executeMDX();
}
public void testNonEmptyWithCognosCalcOneLiteral() throws Exception {
final BooleanProperty enableNonEmptyOnAllAxes =
MondrianProperties.instance().EnableNonEmptyOnAllAxis;
boolean nonEmptyAllAxesCurrentState = enableNonEmptyOnAllAxes.get();
final BooleanProperty enableNativeNonEmpty =
MondrianProperties.instance().EnableNativeNonEmpty;
boolean nativeNonemptyCurrentState = enableNativeNonEmpty.get();
try {
enableNonEmptyOnAllAxes.set(true);
enableNativeNonEmpty.set(false);
executeMDX();
if (Bug.BugMondrian446Fixed) {
enableNativeNonEmpty.set(true);
executeMDX();
}
} finally {
enableNativeNonEmpty.set(nativeNonemptyCurrentState);
enableNonEmptyOnAllAxes.set(nonEmptyAllAxesCurrentState);
}
}