[jira] [Created] (OFBIZ-12137) Remove use of deprecated JUnit rule ExpectedException.none() from tests

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-12137) Remove use of deprecated JUnit rule ExpectedException.none() from tests

Nicolas Malin (Jira)
Daniel Watford created OFBIZ-12137:
--------------------------------------

             Summary: Remove use of deprecated JUnit rule ExpectedException.none() from tests
                 Key: OFBIZ-12137
                 URL: https://issues.apache.org/jira/browse/OFBIZ-12137
             Project: OFBiz
          Issue Type: Improvement
          Components: framework
    Affects Versions: Trunk
            Reporter: Daniel Watford


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

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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)