summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYan Yang <yangyanyj@chinamobile.com>2018-02-26 04:52:07 +0000
committerGerrit Code Review <gerrit@onap.org>2018-02-26 04:52:07 +0000
commit22ef3860bf30e0f8d2a03ab4512b96a675c34e94 (patch)
tree08bada9200100234bc31325af31e3c9f328a93ac
parent183e9cdb3c7374a8f97431dfe1a8cdb7a40a9b19 (diff)
parentbd3b5f60c8c28b802aa6cfece4f743aea09ef5e1 (diff)
Merge "add the test to 50%"
-rw-r--r--ems/boco/src/test/java/org/onap/vfc/nfvo/emsdriver/northbound/client/NorthMessageMgrTest.java19
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();
}
}