diff options
author | Jim Hahn <jrh3@att.com> | 2019-08-22 14:21:14 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2019-08-22 17:07:37 -0400 |
commit | 962dd9714c6d35cacdec0ee8e601431aa349001a (patch) | |
tree | 03ce05c9c64680f0c44fa22734294292a1a12064 /PolicyEngineAPI | |
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>
Diffstat (limited to 'PolicyEngineAPI')
0 files changed, 0 insertions, 0 deletions