Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-12137

Remove use of deprecated JUnit rule ExpectedException.none() from tests

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Implemented
    • Trunk
    • None
    • framework
    • None

    Description

      Test classes OfbizStartupUnitTests and DelegatorUnitTests use deprecated junit method ExpectedException.none().

      Recommendation in junit docs is to use Assert.assertThrows() instead.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            danwatford Daniel Watford
            danwatford Daniel Watford
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment