Locale related options for @requires tag

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Not an Issue
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: tools
    • None
    • generic
    • generic

      Some locale related tests are only supposed to run under a specific locale, e.g., test comparing an error output would eliminate the boilerplate code such as:
      ```
      Locale orig = Locale.getDefault();
      try {
          Locale.setDefault(Locale.US);
          // test code
      } finally {
          Locale.setDefault(orig);
      }
      ```

      by introducing
      ```
      @requires user.language=en && user.country=US
      ```
      option.

            Assignee:
            Unassigned
            Reporter:
            Naoto Sato
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: