updated existing test case to increase coverage 67/59167/2
authorSandeep J <sandeejh@in.ibm.com>
Mon, 6 Aug 2018 11:11:37 +0000 (16:41 +0530)
committerTakamune Cho <tc012c@att.com>
Mon, 6 Aug 2018 23:38:50 +0000 (23:38 +0000)
updated existing test case to increase code coverage

Issue-ID: APPC-1086
Change-Id: I3cec480ee68d5dc1aefd1aa8760ca70b485845b4
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
appc-config/appc-config-adaptor/provider/src/test/java/org/onap/appc/ccadaptor/ConfigComponentAdaptorTest.java

index a863efb..e7c00a5 100644 (file)
@@ -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",