On Tue, 7 May 2024 18:53:17 GMT, Andy Goryachev <ango...@openjdk.org> wrote:

>> Junit 5 has an EnabledOnOs annotation 
>> https://junit.org/junit5/docs/5.2.0/api/org/junit/jupiter/api/condition/EnabledOnOs.html
>
>> EnabledOnOs
> 
> thank you @Siedlerchr for this info.
> I wonder what criteria are set for determining the OS value, and do they 
> match jfx ones?

They just read the `os.name` with `System.getProperty("os.name")`
https://github.com/junit-team/junit5/blob/db47616ab4ccf38ff63e8bff41050d5102c9ff15/junit-jupiter-api/src/main/java/org/junit/jupiter/api/condition/OS.java#L110

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

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

Reply via email to