Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MONDRIAN: Enable testcases via a constant in a new 'Bug' class rather…
… than via system properties. [git-p4: depot-paths = "//open/mondrian/": change = 7912]
- Loading branch information
1 parent
0d4f6ab
commit 9938523
Showing
5 changed files
with
122 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
/* | ||
// $Id$ | ||
// This software is subject to the terms of the Common Public License | ||
// Agreement, available at the following URL: | ||
// http://www.opensource.org/licenses/cpl.html. | ||
// Copyright (C) 2006-2006 Julian Hyde | ||
// All Rights Reserved. | ||
// You must accept the terms of that agreement to use this software. | ||
*/ | ||
package mondrian.util; | ||
|
||
/** | ||
* Holder for constants which indicate whether particular issues have been | ||
* fixed. Reference one of those constants in your code, and it is clear which | ||
* code can be enabled when the bug is fixed. Generally a constant is removed | ||
* when its bug is fixed. | ||
* | ||
* @author jhyde | ||
* @version $Id$ | ||
* @since Oct 11, 2006 | ||
*/ | ||
public class Bug { | ||
/** | ||
* Whether | ||
* <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=1574942&group_id=35302&atid=414613">bug 1574942, "NON EMPTY when hierarchy's default member is not 'all'"</a> | ||
* is fixed. | ||
*/ | ||
public static final boolean Bug1574942Fixed = false; | ||
|
||
// Properties relating to checkin 7634. | ||
// (What's the bug associated with this??) | ||
|
||
public static boolean Checkin7634UseOptimizer = false; | ||
public static boolean Checkin7634DoOld = false; | ||
public static int Checkin7634Size = 0; | ||
|
||
// Properties relating to checkin 7641. | ||
// This is part of the junit test Checkin_7641 that | ||
// shows that there is a difference when the default | ||
// member is not the one used in an axis. | ||
// When Checkin 7641 is resolved, then this System property access and | ||
// boolean should go away. | ||
// (What's the bug associated with this??) | ||
|
||
public static boolean Checkin7641UseOptimizer = false; | ||
} | ||
|
||
// End Bug.java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters