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

Remove antipattern from PassFailJFrame.forcePass javadoc

XMLWordPrintable

    • b19
    • 19
    • b21

        The javadoc for PassFailJFrame.forcePass suggests an anti-pattern of forcibly passing the test if a resource is unavailable.

        If a resource is unavailable or a feature isn't supported, the test should throw jtreg.SkippedException.

        PassFailJFrame.forcePass should be used in semi-automatic tests when the test determines that all the conditions for passing the test are met.

              mvs Manukumar V S
              aivanov Alexey Ivanov
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: