Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8357455

Support running multiple PassFailJFrame test cases in one process

XMLWordPrintable

      Sometimes it's necessary to run several manual test cases in one process. For example, iterating over all installed Look-and-Feels and verifying the same or slightly different scenarios.

      Currently, many important data structures are static fields, including the latch that's used to wait for the test result. After the latch is released for the first time, it stays in the released state, which doesn't allow running additional scenarios in the same process. The instruction frame and list of windows are also static fields.

      A substantial redesign is required of the internal structures of PassFailJFrame is required to support this scenario. Everything should be an instance field instead, that instance could be stored in a static variable to support all the static methods provided.

            aivanov Alexey Ivanov
            aivanov Alexey Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: