diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2019-11-19 14:54:11 -0500 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2019-11-20 14:12:46 -0500 |
commit | eda0ad937fc69dbf53a615f420c11eb352c9cbe7 (patch) | |
tree | 9cf14cc0ae57389d9c10961b1cfa381510e0f0ae /ONAP-XACML/src/main | |
parent | 89ef1958121b877e990ff8755f9087cd306d4b4c (diff) |
Add ONAP-XACML StdEngine tests
Re-worked some JUnits to ensure they really are testing correctly.
added coverage to the factory and std engine for easy exception
conditions.
Issue-ID: POLICY-2242
Change-Id: Iff6a390bff871fea2836336b77567f4a35720dfd
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'ONAP-XACML/src/main')
-rw-r--r-- | ONAP-XACML/src/main/java/org/onap/policy/xacml/std/pap/StdEngine.java | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/ONAP-XACML/src/main/java/org/onap/policy/xacml/std/pap/StdEngine.java b/ONAP-XACML/src/main/java/org/onap/policy/xacml/std/pap/StdEngine.java index 464313e0e..425e0bf6a 100644 --- a/ONAP-XACML/src/main/java/org/onap/policy/xacml/std/pap/StdEngine.java +++ b/ONAP-XACML/src/main/java/org/onap/policy/xacml/std/pap/StdEngine.java @@ -686,20 +686,6 @@ public class StdEngine extends StdPDPItemSetChangeNotifier implements PAPPolicyE } /** - * removeGroupProperties. - * - * @param id String - * @param properties Properties - */ - public static void removeGroupProperties(String id, Properties properties) { - for (Object key : properties.keySet()) { - if (key.toString().startsWith(id + ".")) { - properties.remove(key); - } - } - } - - /** * setGroupProperties. * * @param group PDPGroup |