On Tue, 7 May 2024 16:37:06 GMT, Andy Goryachev <ango...@openjdk.org> wrote:

>> tests/system/src/test/java/test/com/sun/glass/ui/win/WinTextRangeProviderTest.java
>>  line 56:
>> 
>>> 54:     @AfterAll
>>> 55:     static void shutdown() {
>>> 56:         Util.shutdown();
>> 
>> This fails on Mac and Linux because the initialization (and consequently all 
>> tests) are skipped, but the call to `Util.shutdown` is not skipped. You will 
>> either need to also add `assumeTrue(PlatformUtil.isWindows());` here or else 
>> move the `assumeTrue` to the test method.
>
> is there a good way to skip the whole file entirely, e.g. via junit 
> annotation?

maybe
https://stackoverflow.com/questions/26115139/junit-ignore-or-skip-entire-test-class
?

-------------

PR Review Comment: https://git.openjdk.org/jfx/pull/1442#discussion_r1592783215

Reply via email to