Improve negative tests coverage for jpackage signing

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 25
    • Affects Version/s: None
    • Component/s: tools
    • b20
    • generic
    • os_x

      Add tests to cover the case when jpackage can not find the specified signing identity. It throws exceptions composed from "error.explicit-sign-no-cert" string ID, see [1] and [2].

      This is a follow-up to the JDK-8354990 task, aiming to complete the negative test coverage for signing in jpackage.

      [1] https://github.com/openjdk/jdk/blob/d61765f64d6361b6e71c6f783c8c5a127b1ac745/src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacAppBundler.java#L145
      [2] https://github.com/openjdk/jdk/blob/d61765f64d6361b6e71c6f783c8c5a127b1ac745/src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacPkgBundler.java#L731

            Assignee:
            Alexey Semenyuk
            Reporter:
            Alexey Semenyuk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: