diff options
author | Jorge Hernandez <jh1730@att.com> | 2017-06-01 22:51:59 -0500 |
---|---|---|
committer | Jorge Hernandez <jh1730@att.com> | 2017-06-01 23:05:51 -0500 |
commit | 2a78350806368ae9dd4f5e43f4652251adbb52e6 (patch) | |
tree | 05c24c68c6683164b37effe9a702750462880efa /policy-utils/src/test/java | |
parent | 508ad58c3dcc33b168a15518fcf2caf1c32310a1 (diff) |
[POLICY-9,POLICY-18] warnings + Controller hooks
1. clean up policy-utils warnings. drools-pdp project has
no warnings now.
2. add new Policy Controller hooks for feature programmability.
Change-Id: Ie991320e23e73118b235018d15ea66340a841a89
Signed-off-by: Jorge Hernandez <jh1730@att.com>
Diffstat (limited to 'policy-utils/src/test/java')
-rw-r--r-- | policy-utils/src/test/java/org/openecomp/policy/drools/utils/PropertyUtilTest.java | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/policy-utils/src/test/java/org/openecomp/policy/drools/utils/PropertyUtilTest.java b/policy-utils/src/test/java/org/openecomp/policy/drools/utils/PropertyUtilTest.java index 55091718..32386725 100644 --- a/policy-utils/src/test/java/org/openecomp/policy/drools/utils/PropertyUtilTest.java +++ b/policy-utils/src/test/java/org/openecomp/policy/drools/utils/PropertyUtilTest.java @@ -20,11 +20,7 @@ package org.openecomp.policy.drools.utils; -import static org.junit.Assert.*; - -import org.junit.AfterClass; -import org.junit.BeforeClass; -import org.junit.Test; +import static org.junit.Assert.assertEquals; import java.io.File; import java.io.FileOutputStream; @@ -35,8 +31,9 @@ import java.util.Set; import java.util.TreeSet; import java.util.UUID; -import org.apache.log4j.Logger; - +import org.junit.AfterClass; +import org.junit.BeforeClass; +import org.junit.Test; import org.openecomp.policy.common.logging.eelf.PolicyLogger; public class PropertyUtilTest @@ -198,7 +195,7 @@ public class PropertyUtilTest assertEquals(prop2, returns[0]); // verify that we have the expected set of keys - assertEquals(new TreeSet(Arrays.asList(new String[]{"p1", "p2", "p4"})), + assertEquals(new TreeSet<String>(Arrays.asList(new String[]{"p1", "p2", "p4"})), returns[1]); } } |