add the test to 50% 27/32827/1
authorchanfansang <x1280435692@163.com>
Mon, 26 Feb 2018 02:51:58 +0000 (10:51 +0800)
committerchanfansang <x1280435692@163.com>
Mon, 26 Feb 2018 02:52:45 +0000 (10:52 +0800)
Change-Id: Ifaa8e61df04e9ca19975b1cd354412c979743e24
Issue-ID: VFC-742
Signed-off-by: chanfansang <x1280435692@163.com>
ems/boco/src/test/java/org/onap/vfc/nfvo/emsdriver/northbound/client/NorthMessageMgrTest.java

index e00469e..65d4e81 100644 (file)
  */
 package org.onap.vfc.nfvo.emsdriver.northbound.client;
 
+import java.io.FileInputStream;
+import java.util.List;
+import java.util.Properties;
+
 import org.junit.Before;
 import org.junit.Test;
+import org.onap.vfc.nfvo.emsdriver.commons.model.CollectVo;
+import org.onap.vfc.nfvo.emsdriver.commons.model.EMSInfo;
+import org.onap.vfc.nfvo.emsdriver.configmgr.ConfigurationInterface;
 
 public class NorthMessageMgrTest {
 
-       /*private NorthMessageMgr northMessageMgr;
-       private ConfigurationInterface configurationInterface;*/
+       private NorthMessageMgr northMessageMgr;
+       private ConfigurationInterface configurationInterface;
        
        @Before
        public void setUp() throws Exception {
-               /*configurationInterface = new ConfigurationInterface() {
+               configurationInterface = new ConfigurationInterface() {
                        
                        public Properties getProperties() {
                                Properties pps = new Properties();
@@ -49,13 +56,13 @@ public class NorthMessageMgrTest {
                northMessageMgr = new NorthMessageMgr();
                northMessageMgr.setConfigurationInterface(configurationInterface);
                northMessageMgr.dispose();
-       */
+       
        }
 
        @Test
        public void test() {
-               /*Thread t = new Thread(northMessageMgr);
-               t.start();*/
+               Thread t = new Thread(northMessageMgr);
+               t.start();
        }
 
 }