aboutsummaryrefslogtreecommitdiffstats
path: root/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/MatchStoreTest.java
diff options
context:
space:
mode:
authorITSERVICES\rb7147 <rb7147@att.com>2017-04-25 11:46:00 -0400
committerITSERVICES\rb7147 <rb7147@att.com>2017-05-03 09:58:17 -0400
commite0addf5b588a1244f9679becd90999dfcb4c3a94 (patch)
tree1212772d6366730266ff0e093c874b07aa716c29 /PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/MatchStoreTest.java
parent39fb0f30472777e4b60d6a7ac8aa4eb9773961ff (diff)
Policy 1707 commit to LF
Change-Id: Ibe6f01d92f9a434c040abb05d5386e89d675ae65 Signed-off-by: ITSERVICES\rb7147 <rb7147@att.com>
Diffstat (limited to 'PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/MatchStoreTest.java')
-rw-r--r--PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/MatchStoreTest.java28
1 files changed, 15 insertions, 13 deletions
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/MatchStoreTest.java b/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/MatchStoreTest.java
index 917e9d5e6..ab8946c60 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/MatchStoreTest.java
+++ b/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/MatchStoreTest.java
@@ -20,18 +20,20 @@
package org.openecomp.policy.std.test;
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertNull;
+
import java.util.HashSet;
import java.util.Hashtable;
-import java.util.Map;
-import org.junit.*;
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Test;
import org.openecomp.policy.api.PDPNotification;
import org.openecomp.policy.std.MatchStore;
import org.openecomp.policy.std.Matches;
import org.openecomp.policy.std.StdPDPNotification;
-import static org.junit.Assert.*;
-
/**
* The class <code>MatchStoreTest</code> contains tests for the class <code>{@link MatchStore}</code>.
*
@@ -467,7 +469,7 @@ public class MatchStoreTest {
public void testStoreMatch_4()
throws Exception {
Matches newMatch = new Matches();
- newMatch.setConfigAttributes(new Hashtable());
+ newMatch.setConfigAttributes(new Hashtable<String, String>());
newMatch.setConfigName("");
newMatch.setEcompName("");
@@ -489,7 +491,7 @@ public class MatchStoreTest {
public void testStoreMatch_5()
throws Exception {
Matches newMatch = new Matches();
- newMatch.setConfigAttributes(new Hashtable());
+ newMatch.setConfigAttributes(new Hashtable<String, String>());
newMatch.setConfigName("");
newMatch.setEcompName("");
@@ -511,7 +513,7 @@ public class MatchStoreTest {
public void testStoreMatch_6()
throws Exception {
Matches newMatch = new Matches();
- newMatch.setConfigAttributes(new Hashtable());
+ newMatch.setConfigAttributes(new Hashtable<String, String>());
newMatch.setConfigName("");
newMatch.setEcompName("");
@@ -533,7 +535,7 @@ public class MatchStoreTest {
public void testStoreMatch_7()
throws Exception {
Matches newMatch = new Matches();
- newMatch.setConfigAttributes(new Hashtable());
+ newMatch.setConfigAttributes(new Hashtable<String, String>());
newMatch.setConfigName("");
newMatch.setEcompName("");
@@ -596,7 +598,7 @@ public class MatchStoreTest {
public void testStoreMatch_10()
throws Exception {
Matches newMatch = new Matches();
- newMatch.setConfigAttributes(new Hashtable());
+ newMatch.setConfigAttributes(new Hashtable<String, String>());
newMatch.setConfigName("");
newMatch.setEcompName("");
@@ -618,7 +620,7 @@ public class MatchStoreTest {
public void testStoreMatch_11()
throws Exception {
Matches newMatch = new Matches();
- newMatch.setConfigAttributes(new Hashtable());
+ newMatch.setConfigAttributes(new Hashtable<String, String>());
newMatch.setConfigName("");
newMatch.setEcompName("");
@@ -640,7 +642,7 @@ public class MatchStoreTest {
public void testStoreMatch_12()
throws Exception {
Matches newMatch = new Matches();
- newMatch.setConfigAttributes(new Hashtable());
+ newMatch.setConfigAttributes(new Hashtable<String, String>());
newMatch.setConfigName("");
newMatch.setEcompName("");
@@ -662,7 +664,7 @@ public class MatchStoreTest {
public void testStoreMatch_13()
throws Exception {
Matches newMatch = new Matches();
- newMatch.setConfigAttributes(new Hashtable());
+ newMatch.setConfigAttributes(new Hashtable<String, String>());
newMatch.setConfigName("");
newMatch.setEcompName("");
@@ -684,7 +686,7 @@ public class MatchStoreTest {
public void testStoreMatch_14()
throws Exception {
Matches newMatch = new Matches();
- newMatch.setConfigAttributes(new Hashtable());
+ newMatch.setConfigAttributes(new Hashtable<String, String>());
newMatch.setConfigName("");
newMatch.setEcompName("");