[POLICY-73] replace openecomp for policy-engine
[policy/engine.git] / PolicyEngineAPI / src / test / java / org / onap / policy / std / test / MatchStoreTest.java
@@ -18,7 +18,7 @@
  * ============LICENSE_END=========================================================
  */
 
-package org.openecomp.policy.std.test;
+package org.onap.policy.std.test;
 
 import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertNull;
@@ -29,10 +29,10 @@ import java.util.Hashtable;
 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 org.onap.policy.api.PDPNotification;
+import org.onap.policy.std.MatchStore;
+import org.onap.policy.std.Matches;
+import org.onap.policy.std.StdPDPNotification;
 
 /**
  * The class <code>MatchStoreTest</code> contains tests for the class <code>{@link MatchStore}</code>.
@@ -70,7 +70,7 @@ public class MatchStoreTest {
 
                // add additional test code here
                // An unexpected exception was thrown in user code while executing this test:
-               //    java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+               //    java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
                assertNull(result);
        }
 
@@ -90,7 +90,7 @@ public class MatchStoreTest {
 
                // add additional test code here
                // An unexpected exception was thrown in user code while executing this test:
-               //    java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+               //    java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
                assertNotNull(result);
        }
 
@@ -110,7 +110,7 @@ public class MatchStoreTest {
 
                // add additional test code here
                // An unexpected exception was thrown in user code while executing this test:
-               //    java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+               //    java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
                assertNotNull(result);
        }
 
@@ -130,7 +130,7 @@ public class MatchStoreTest {
 
                // add additional test code here
                // An unexpected exception was thrown in user code while executing this test:
-               //    java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+               //    java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
                assertNotNull(result);
        }
 
@@ -150,7 +150,7 @@ public class MatchStoreTest {
 
                // add additional test code here
                // An unexpected exception was thrown in user code while executing this test:
-               //    java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+               //    java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
                assertNotNull(result);
        }
 
@@ -170,7 +170,7 @@ public class MatchStoreTest {
 
                // add additional test code here
                // An unexpected exception was thrown in user code while executing this test:
-               //    java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+               //    java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
                assertNotNull(result);
        }
 
@@ -190,7 +190,7 @@ public class MatchStoreTest {
 
                // add additional test code here
                // An unexpected exception was thrown in user code while executing this test:
-               //    java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+               //    java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
                assertNotNull(result);
        }
 
@@ -210,7 +210,7 @@ public class MatchStoreTest {
 
                // add additional test code here
                // An unexpected exception was thrown in user code while executing this test:
-               //    java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+               //    java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
                assertNotNull(result);
        }
 
@@ -230,7 +230,7 @@ public class MatchStoreTest {
 
                // add additional test code here
                // An unexpected exception was thrown in user code while executing this test:
-               //    java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+               //    java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
                assertNotNull(result);
        }
 
@@ -250,7 +250,7 @@ public class MatchStoreTest {
 
                // add additional test code here
                // An unexpected exception was thrown in user code while executing this test:
-               //    java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+               //    java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
                assertNotNull(result);
        }
 
@@ -270,7 +270,7 @@ public class MatchStoreTest {
 
                // add additional test code here
                // An unexpected exception was thrown in user code while executing this test:
-               //    java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+               //    java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
                assertNotNull(result);
        }
 
@@ -290,7 +290,7 @@ public class MatchStoreTest {
 
                // add additional test code here
                // An unexpected exception was thrown in user code while executing this test:
-               //    java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+               //    java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
                assertNotNull(result);
        }
 
@@ -310,7 +310,7 @@ public class MatchStoreTest {
 
                // add additional test code here
                // An unexpected exception was thrown in user code while executing this test:
-               //    java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+               //    java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
                assertNotNull(result);
        }
 
@@ -330,7 +330,7 @@ public class MatchStoreTest {
 
                // add additional test code here
                // An unexpected exception was thrown in user code while executing this test:
-               //    java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+               //    java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
                assertNotNull(result);
        }
 
@@ -350,7 +350,7 @@ public class MatchStoreTest {
 
                // add additional test code here
                // An unexpected exception was thrown in user code while executing this test:
-               //    java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+               //    java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
                assertNotNull(result);
        }
 
@@ -370,7 +370,7 @@ public class MatchStoreTest {
 
                // add additional test code here
                // An unexpected exception was thrown in user code while executing this test:
-               //    java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+               //    java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
                assertNotNull(result);
        }
 
@@ -391,7 +391,7 @@ public class MatchStoreTest {
                // An unexpected exception was thrown in user code while executing this test:
                //    java.lang.ExceptionInInitializerError
                //       at org.apache.log4j.Logger.getLogger(Logger.java:104)
-               //       at org.openecomp.policy.std.MatchStore.<clinit>(MatchStore.java:15)
+               //       at org.onap.policy.std.MatchStore.<clinit>(MatchStore.java:15)
                assertNotNull(result);
        }
 
@@ -407,13 +407,13 @@ public class MatchStoreTest {
                throws Exception {
                Matches newMatch = new Matches();
                newMatch.setConfigName("");
-               newMatch.setEcompName("");
+               newMatch.setOnapName("");
 
                MatchStore.storeMatch(newMatch);
 
                // add additional test code here
                // An unexpected exception was thrown in user code while executing this test:
-               //    java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+               //    java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
        }
 
        /**
@@ -428,13 +428,13 @@ public class MatchStoreTest {
                throws Exception {
                Matches newMatch = new Matches();
                newMatch.setConfigName("");
-               newMatch.setEcompName("");
+               newMatch.setOnapName("");
 
                MatchStore.storeMatch(newMatch);
 
                // add additional test code here
                // An unexpected exception was thrown in user code while executing this test:
-               //    java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+               //    java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
        }
 
        /**
@@ -449,13 +449,13 @@ public class MatchStoreTest {
                throws Exception {
                Matches newMatch = new Matches();
                newMatch.setConfigName("");
-               newMatch.setEcompName("");
+               newMatch.setOnapName("");
 
                MatchStore.storeMatch(newMatch);
 
                // add additional test code here
                // An unexpected exception was thrown in user code while executing this test:
-               //    java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+               //    java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
        }
 
        /**
@@ -471,13 +471,13 @@ public class MatchStoreTest {
                Matches newMatch = new Matches();
                newMatch.setConfigAttributes(new Hashtable<String, String>());
                newMatch.setConfigName("");
-               newMatch.setEcompName("");
+               newMatch.setOnapName("");
 
                MatchStore.storeMatch(newMatch);
 
                // add additional test code here
                // An unexpected exception was thrown in user code while executing this test:
-               //    java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+               //    java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
        }
 
        /**
@@ -493,13 +493,13 @@ public class MatchStoreTest {
                Matches newMatch = new Matches();
                newMatch.setConfigAttributes(new Hashtable<String, String>());
                newMatch.setConfigName("");
-               newMatch.setEcompName("");
+               newMatch.setOnapName("");
 
                MatchStore.storeMatch(newMatch);
 
                // add additional test code here
                // An unexpected exception was thrown in user code while executing this test:
-               //    java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+               //    java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
        }
 
        /**
@@ -515,13 +515,13 @@ public class MatchStoreTest {
                Matches newMatch = new Matches();
                newMatch.setConfigAttributes(new Hashtable<String, String>());
                newMatch.setConfigName("");
-               newMatch.setEcompName("");
+               newMatch.setOnapName("");
 
                MatchStore.storeMatch(newMatch);
 
                // add additional test code here
                // An unexpected exception was thrown in user code while executing this test:
-               //    java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+               //    java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
        }
 
        /**
@@ -537,13 +537,13 @@ public class MatchStoreTest {
                Matches newMatch = new Matches();
                newMatch.setConfigAttributes(new Hashtable<String, String>());
                newMatch.setConfigName("");
-               newMatch.setEcompName("");
+               newMatch.setOnapName("");
 
                MatchStore.storeMatch(newMatch);
 
                // add additional test code here
                // An unexpected exception was thrown in user code while executing this test:
-               //    java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+               //    java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
        }
 
        /**
@@ -558,13 +558,13 @@ public class MatchStoreTest {
                throws Exception {
                Matches newMatch = new Matches();
                newMatch.setConfigName("");
-               newMatch.setEcompName("");
+               newMatch.setOnapName("");
 
                MatchStore.storeMatch(newMatch);
 
                // add additional test code here
                // An unexpected exception was thrown in user code while executing this test:
-               //    java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+               //    java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
        }
 
        /**
@@ -578,13 +578,13 @@ public class MatchStoreTest {
        public void testStoreMatch_9()
                throws Exception {
                Matches newMatch = new Matches();
-               newMatch.setEcompName("");
+               newMatch.setOnapName("");
 
                MatchStore.storeMatch(newMatch);
 
                // add additional test code here
                // An unexpected exception was thrown in user code while executing this test:
-               //    java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+               //    java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
        }
 
        /**
@@ -600,13 +600,13 @@ public class MatchStoreTest {
                Matches newMatch = new Matches();
                newMatch.setConfigAttributes(new Hashtable<String, String>());
                newMatch.setConfigName("");
-               newMatch.setEcompName("");
+               newMatch.setOnapName("");
 
                MatchStore.storeMatch(newMatch);
 
                // add additional test code here
                // An unexpected exception was thrown in user code while executing this test:
-               //    java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+               //    java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
        }
 
        /**
@@ -622,13 +622,13 @@ public class MatchStoreTest {
                Matches newMatch = new Matches();
                newMatch.setConfigAttributes(new Hashtable<String, String>());
                newMatch.setConfigName("");
-               newMatch.setEcompName("");
+               newMatch.setOnapName("");
 
                MatchStore.storeMatch(newMatch);
 
                // add additional test code here
                // An unexpected exception was thrown in user code while executing this test:
-               //    java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+               //    java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
        }
 
        /**
@@ -644,13 +644,13 @@ public class MatchStoreTest {
                Matches newMatch = new Matches();
                newMatch.setConfigAttributes(new Hashtable<String, String>());
                newMatch.setConfigName("");
-               newMatch.setEcompName("");
+               newMatch.setOnapName("");
 
                MatchStore.storeMatch(newMatch);
 
                // add additional test code here
                // An unexpected exception was thrown in user code while executing this test:
-               //    java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+               //    java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
        }
 
        /**
@@ -666,13 +666,13 @@ public class MatchStoreTest {
                Matches newMatch = new Matches();
                newMatch.setConfigAttributes(new Hashtable<String, String>());
                newMatch.setConfigName("");
-               newMatch.setEcompName("");
+               newMatch.setOnapName("");
 
                MatchStore.storeMatch(newMatch);
 
                // add additional test code here
                // An unexpected exception was thrown in user code while executing this test:
-               //    java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+               //    java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
        }
 
        /**
@@ -688,13 +688,13 @@ public class MatchStoreTest {
                Matches newMatch = new Matches();
                newMatch.setConfigAttributes(new Hashtable<String, String>());
                newMatch.setConfigName("");
-               newMatch.setEcompName("");
+               newMatch.setOnapName("");
 
                MatchStore.storeMatch(newMatch);
 
                // add additional test code here
                // An unexpected exception was thrown in user code while executing this test:
-               //    java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+               //    java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
        }
 
        /**
@@ -713,7 +713,7 @@ public class MatchStoreTest {
 
                // add additional test code here
                // An unexpected exception was thrown in user code while executing this test:
-               //    java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+               //    java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
        }
 
        /**
@@ -732,7 +732,7 @@ public class MatchStoreTest {
 
                // add additional test code here
                // An unexpected exception was thrown in user code while executing this test:
-               //    java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+               //    java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
        }
 
        /**