commit | 962dd9714c6d35cacdec0ee8e601431aa349001a | [log] [tgz] |
---|---|---|
author | Jim Hahn <jrh3@att.com> | Thu Aug 22 14:21:14 2019 -0400 |
committer | Jim Hahn <jrh3@att.com> | Thu Aug 22 17:07:37 2019 -0400 |
tree | 03ce05c9c64680f0c44fa22734294292a1a12064 | |
parent | e78f07ad32ffb52ed5d3e02295ed5282841870f3 [diff] |
Remove powermock to increase coverage Removed powermock from the junit tests of these classes to increase reported sonar coverage: RESTfulPAPEngine BrmsGateway Typically added override methods to the classes under test, to replace the overrides originally provided by powermock. Also needed to add code to RESTfulPAPEngineTest to clear the XACML properties before the test ran. Modified to use the existing XACMLProperties.reloadProperties() method. Also modified PolicyNotificationMailTest to use a host/port that has no listener so that the test runs faster. Fixed some newly introduced sonar issues. Change-Id: I65e36b01e9506987032eb21baac808ed3dfd4f47 Issue-ID: POLICY-1937 Signed-off-by: Jim Hahn <jrh3@att.com>
This source repository contains the ONAP Policy Engine code. To build it: