If you need a test to be disabled temporarily, call "logKnownIssue". The method is defined as below: /** * Log the known issue. * This method returns true unless -prop:logKnownIssue=no is specified * in the argument list. * * @param ticket A ticket number string. For an ICU ticket, use numeric characters only, * such as "10245". For a CLDR ticket, use prefix "cldrbug:" followed by ticket number, * such as "cldrbug:5013". * @param comment Additional comment, or null * @return true unless -prop:logKnownIssue=no is specified in the test command line argument. */ public boolean logKnownIssue(String ticket, String comment)
Before ICU4J 52, we used to use isICUVersionBefore() method like below. The test method is still available in the trunk, but developers are suggested to use logKnownIssue() instead. if (isICUVersionBefore(50,0,2)) { return; } Before ICU4J 49M2, we used to use the style below - if(skipIfBeforeICU(4, 5, 2)) { return; } |
Setup > Eclipse Setup for ICU4J Users >