On Mon, 8 Apr 2024 15:04:24 GMT, Andy Goryachev <[email protected]> wrote:
>> ## ManualTestWindow
>>
>> This facility provides a framework for manual tests to display test
>> instructions, test pane, and Pass/Fail buttons.
>>
>> A simple test would look like this:
>>
>>
>> public class SampleManualTest {
>> public static void main(String[] args) throws Exception {
>> ManualTestWindow.builder().
>> title("Sample Manual Test").
>> instructions(
>> """
>> Provide
>> multi-line instructions here.
>> """
>> ).
>> ui(() -> createTestUI()).
>> buildAndRun();
>> }
>>
>> private static Node createTestUI() {
>> return new Label("Test UI");
>> }
>> }
>>
>>
>> Resulting application window:
>>
>> 
>>
>> Readme:
>>
>> https://github.com/openjdk/jfx/blob/1cc095049be3773e1211ad570eb2285f08f25cec/tests/manual/util/README.md
>>
>> @prrace 's test EmojiTest has been converted to use the new test window as a
>> demonstration (also fixed the Eclipse project so it works now).
>>
>> Q: What other features can be added to the test window?
>>
>> Edit: the sources are left in their original place at the root of the
>> project.
>
> Andy Goryachev has updated the pull request incrementally with two additional
> commits since the last revision:
>
> - works
> - .
This could use a second pair of eyes. I don't have time right now, but I'll add
a couple comments.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1413#issuecomment-2043728148