From: Sandeep J Date: Mon, 6 Aug 2018 11:11:37 +0000 (+0530) Subject: updated existing test case to increase coverage X-Git-Tag: 1.4.0~126 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=46e785239c29d4823cace5137ecab5ce46a731f0;p=appc.git 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 --- 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",