From 46e785239c29d4823cace5137ecab5ce46a731f0 Mon Sep 17 00:00:00 2001 From: Sandeep J Date: Mon, 6 Aug 2018 16:41:37 +0530 Subject: 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 --- .../java/org/onap/appc/ccadaptor/ConfigComponentAdaptorTest.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'appc-config') 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", -- cgit 1.2.3-korg