summaryrefslogtreecommitdiffstats
path: root/appc-config/appc-config-adaptor/provider/src
diff options
context:
space:
mode:
authorSandeep J <sandeejh@in.ibm.com>2018-08-06 16:41:37 +0530
committerTakamune Cho <tc012c@att.com>2018-08-06 23:38:50 +0000
commit46e785239c29d4823cace5137ecab5ce46a731f0 (patch)
tree62faa8da9498190ed460c6d32539342fedd1bb87 /appc-config/appc-config-adaptor/provider/src
parent40a4719e58b4e1af57e1cfc208b24efca35979a5 (diff)
updated existing test case to increase coverage
updated existing test case to increase code coverage Issue-ID: APPC-1086 Change-Id: I3cec480ee68d5dc1aefd1aa8760ca70b485845b4 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
Diffstat (limited to 'appc-config/appc-config-adaptor/provider/src')
-rw-r--r--appc-config/appc-config-adaptor/provider/src/test/java/org/onap/appc/ccadaptor/ConfigComponentAdaptorTest.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/appc-config/appc-config-adaptor/provider/src/test/java/org/onap/appc/ccadaptor/ConfigComponentAdaptorTest.java b/appc-config/appc-config-adaptor/provider/src/test/java/org/onap/appc/ccadaptor/ConfigComponentAdaptorTest.java
index a863efbf6..e7c00a56b 100644
--- a/appc-config/appc-config-adaptor/provider/src/test/java/org/onap/appc/ccadaptor/ConfigComponentAdaptorTest.java
+++ b/appc-config/appc-config-adaptor/provider/src/test/java/org/onap/appc/ccadaptor/ConfigComponentAdaptorTest.java
@@ -6,6 +6,8 @@
* ================================================================================
* Copyright (C) 2017 Amdocs
* =============================================================================
+ * Modification Copyright (C) 2018 IBM.
+ * =============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
@@ -46,7 +48,10 @@ public class ConfigComponentAdaptorTest {
parameters.put("Password", "password");
parameters.put("Port_number", "22");
parameters.put("Get_config_template", Get_config_template);
-
+ parameters.put("config-component-configUrl","testUrl");
+ parameters.put("config-component-configPassword","testPassword");
+ parameters.put("config-component-configUser","testUser");
+
SvcLogicContext ctx = new SvcLogicContext();
ctx.setAttribute(
"service-data.vnf-config-parameters-list.vnf-config-parameters[0].update-configuration[0].block-key-name",