From de9d4887aabda45b805e744d2f4f1ec2dc6cf40d Mon Sep 17 00:00:00 2001 From: Sandeep J Date: Fri, 30 Nov 2018 15:57:31 +0530 Subject: added test case to ConfigurationHelperTest.java to increase code coverage Issue-ID: APPC-1086 Change-Id: Ibc9c9eb7ae15b0f3ad8d728d495de4fff4512982 Signed-off-by: Sandeep J --- .../java/org/onap/appc/oam/util/ConfigurationHelperTest.java | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'appc-oam/appc-oam-bundle') 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); + } } -- cgit 1.2.3-korg