Replace ExpectedException with assertThrows() calls in jpackage unit tests

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Withdrawn
    • Priority: P4
    • tbd
    • Affects Version/s: None
    • Component/s: tools
    • None
    • generic
    • generic

      The use of org.junit.rules.ExpectedException class to test for exceptions is bulky. Replace it with Assert#assertThrows() Junit4 calls. This should allow merging DottedVersionTest and InvalidDottedVersionTest tests.

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

              Created:
              Updated:
              Resolved: