Class ICUDebug
java.lang.Object
com.ibm.icu.impl.ICUDebug
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
params
-
debug
private static boolean debug -
help
private static boolean help
-
-
Constructor Details
-
ICUDebug
public ICUDebug()
-
-
Method Details
-
enabled
public static boolean enabled() -
enabled
Returns true if a certain named debug flag is enabled.To enable debugging when running maven one must define
ICUDebug. For example this runs all the tests inLocaleMatcherTestwithout debugging:
And this runs the same tests, but with debugging enabled:mvn package -f main/core/ -Dtest=LocaleMatcherTest
You must check what name is used for the debugging flag by inspecting the code, it is not always the lowercase class name.mvn package -f main/core/ -Dtest=LocaleMatcherTest -DICUDebug=localematchertest- Parameters:
name- the name if the debug flag to enable- Returns:
- true if the debugging should be enabled for that flag
-
value
-