RFR: 8319555: [TestBug] Utility for creating instruction window for manual tests
    Kevin Rushforth 
    kcr at openjdk.org
       
    Fri Mar 28 20:59:12 UTC 2025
    
    
  
On Fri, 28 Mar 2025 18:43:34 GMT, Andy Goryachev <angorya at openjdk.org> wrote:
> 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");
>      }
> }
> 
> 
> 
Without using an IDE (which is the default use case for manual tests), how would someone compile and run these?
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1747#issuecomment-2762489090
    
    
More information about the openjfx-dev
mailing list