From: chanfansang Date: Mon, 26 Feb 2018 02:51:58 +0000 (+0800) Subject: add the test to 50% X-Git-Tag: v1.1.0~38^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F27%2F32827%2F1;p=vfc%2Fnfvo%2Fdriver%2Fems.git add the test to 50% Change-Id: Ifaa8e61df04e9ca19975b1cd354412c979743e24 Issue-ID: VFC-742 Signed-off-by: chanfansang --- diff --git a/ems/boco/src/test/java/org/onap/vfc/nfvo/emsdriver/northbound/client/NorthMessageMgrTest.java b/ems/boco/src/test/java/org/onap/vfc/nfvo/emsdriver/northbound/client/NorthMessageMgrTest.java index e00469e..65d4e81 100644 --- a/ems/boco/src/test/java/org/onap/vfc/nfvo/emsdriver/northbound/client/NorthMessageMgrTest.java +++ b/ems/boco/src/test/java/org/onap/vfc/nfvo/emsdriver/northbound/client/NorthMessageMgrTest.java @@ -15,17 +15,24 @@ */ 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(); } }