RFR: 8319555: [TestBug] Utility for creating instruction window for manual tests
Andy Goryachev
angorya at openjdk.org
Fri Mar 28 19:25:59 UTC 2025
Provides the base class for manual tests which displays the test instructions, the UI under test, and the Pass/Fail buttons.
Uses `EmojiTest` to illustrate the use of the new class.
Example:
public class ManualTestExample extends ManualTestWindow {
public ManualTestExample() {
super(
"Manual Test Example",
"""
Instructions:
1. you will see a button named "Test"
2. press the button
3. verify that the button can be pressed""",
400, 250
);
}
public static void main(String[] args) throws Exception {
launch(args);
}
@Override
protected Node createContent() {
return new Button("Test");
}
}

-------------
Commit messages:
- cleanup
- 2025
- Merge remote-tracking branch 'origin/master' into 8319555.manual
- Merge branch 'master' into 8319555.manual
- Merge branch 'master' into 8319555.manual
- Merge remote-tracking branch 'origin/master' into 8319555.manual
- Merge remote-tracking branch 'origin/8319555.manual' into 8319555.manual
- removed example
- cleanup
- whitespace
- ... and 9 more: https://git.openjdk.org/jfx/compare/ff777c7a...8f23a763
Changes: https://git.openjdk.org/jfx/pull/1747/files
Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1747&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8319555
Stats: 351 lines in 8 files changed: 290 ins; 47 del; 14 mod
Patch: https://git.openjdk.org/jfx/pull/1747.diff
Fetch: git fetch https://git.openjdk.org/jfx.git pull/1747/head:pull/1747
PR: https://git.openjdk.org/jfx/pull/1747
More information about the openjfx-dev
mailing list