From eda0ad937fc69dbf53a615f420c11eb352c9cbe7 Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Tue, 19 Nov 2019 14:54:11 -0500 Subject: 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 --- .../main/java/org/onap/policy/xacml/std/pap/StdEngine.java | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'ONAP-XACML/src/main') 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 @@ -685,20 +685,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. * -- cgit 1.2.3-korg