From: Sandeep J Date: Fri, 30 Nov 2018 10:27:31 +0000 (+0530) Subject: added test case to ConfigurationHelperTest.java X-Git-Tag: 1.5.0~403 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F41%2F74041%2F4;p=appc.git added test case to ConfigurationHelperTest.java to increase code coverage Issue-ID: APPC-1086 Change-Id: Ibc9c9eb7ae15b0f3ad8d728d495de4fff4512982 Signed-off-by: Sandeep J --- diff --git a/appc-oam/appc-oam-bundle/src/test/java/org/onap/appc/oam/util/ConfigurationHelperTest.java b/appc-oam/appc-oam-bundle/src/test/java/org/onap/appc/oam/util/ConfigurationHelperTest.java index 827f90dd6..7c696d400 100644 --- a/appc-oam/appc-oam-bundle/src/test/java/org/onap/appc/oam/util/ConfigurationHelperTest.java +++ b/appc-oam/appc-oam-bundle/src/test/java/org/onap/appc/oam/util/ConfigurationHelperTest.java @@ -6,6 +6,8 @@ * ================================================================================ * Copyright (C) 2017 Amdocs * ============================================================================= + * Modifications 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 @@ -124,4 +126,11 @@ public class ConfigurationHelperTest { resetOrigConfig(); } + + @Test + public void testGetOamOperationTimeoutValue() + { + long timeoutValue = configurationHelper.getOAMOperationTimeoutValue(null); + Assert.assertEquals(60000, timeoutValue); + } }