diff options
author | chanfansang <x1280435692@163.com> | 2018-02-26 10:51:58 +0800 |
---|---|---|
committer | chanfansang <x1280435692@163.com> | 2018-02-26 10:52:45 +0800 |
commit | bd3b5f60c8c28b802aa6cfece4f743aea09ef5e1 (patch) | |
tree | bc7aea8de70d522ca4dae9927c205484628f8f2e | |
parent | c3e4497efdb86d5e3bf3c661be53ac13ffb73ebe (diff) |
add the test to 50%
Change-Id: Ifaa8e61df04e9ca19975b1cd354412c979743e24
Issue-ID: VFC-742
Signed-off-by: chanfansang <x1280435692@163.com>
-rw-r--r-- | ems/boco/src/test/java/org/onap/vfc/nfvo/emsdriver/northbound/client/NorthMessageMgrTest.java | 19 |
1 files changed, 13 insertions, 6 deletions
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(); } } |