RFR: 8319555: [TestBug] Utility for creating instruction window for manual tests

Martin Fox mfox at openjdk.org
Mon Mar 31 17:56:06 UTC 2025


On Fri, 28 Mar 2025 23:06:47 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

> The following command line expectedly fails because it can't find `com.oracle.util.testing.ManualTestWindow`:
> 
> ```
> java --module-path=build/sdk/lib --add-modules=javafx.controls ./tests/manual/text/EmojiTest.java
> ```

When I was working on my manual tests @tsayao provided a useful tip. If you change the`launch(args)` call in EmojiTest.java to `launch(EmojiTest.class, args)` it's easy to run it from the command line like so:

`java @build/run.args tests/manual/text/EmojiTest.java`

It would be nice if all the manual tests did this, it makes them a lot easier to interact with.

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

PR Comment: https://git.openjdk.org/jfx/pull/1747#issuecomment-2766972605


More information about the openjfx-dev mailing list