aboutsummaryrefslogtreecommitdiffstats
path: root/appc-oam/appc-oam-bundle/src/test/java/org/onap
diff options
context:
space:
mode:
authorSandeep J <sandeejh@in.ibm.com>2018-11-30 15:57:31 +0530
committerTakamune Cho <takamune.cho@att.com>2018-12-03 10:06:17 +0000
commitde9d4887aabda45b805e744d2f4f1ec2dc6cf40d (patch)
tree2efe74360865fdde5572d54f0dfde7948c1514fc /appc-oam/appc-oam-bundle/src/test/java/org/onap
parent9b0595cc58b9a990909175bfcbcad59337a74b4f (diff)
added test case to ConfigurationHelperTest.java
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ibc9c9eb7ae15b0f3ad8d728d495de4fff4512982 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
Diffstat (limited to 'appc-oam/appc-oam-bundle/src/test/java/org/onap')
-rw-r--r--appc-oam/appc-oam-bundle/src/test/java/org/onap/appc/oam/util/ConfigurationHelperTest.java9
1 files changed, 9 insertions, 0 deletions
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);
+ }
}