ant target releaseJarCheck fails with No runnable methods in ExhaustivePersonNameFormatterTest

Description

ExhaustivePersonNameFormatterTest is not a JUnit test case. ICU4J assumes class name including “Test” under com/ibm/icu/dev/test as JUnit test case. It looks the standard test target _coreCheck exclude this class explicitly, but this is missed in a special target for release operation - releaseJarCheck. As the result, it fails with No runnable methods error.

Activity

Show:

Markus Scherer May 18, 2023 at 3:50 PM

please cherry-pick to maint/maint-73.

Rich Gillam April 14, 2023 at 7:56 PM

Yoshito, your PR looked fine to me, but GitHub isn’t letting me log in for some reason, so I can’t approve it there. (And I’m sorry for the extra hassle I caused with this change.)

Steven R. Loomis March 24, 2023 at 2:11 PM

It could read the env var CLDR_DIR which is the usual way to pass the CLDR location, and be marked as skipped via junit annotations, or if the file wasn’t readable.

Fixed

Details

Assignee

Reporter

Components

Priority

Fix versions

Created March 24, 2023 at 4:17 AM
Updated June 1, 2023 at 3:42 PM
Resolved June 1, 2023 at 3:42 PM