From 7343d9b5736148fc6d688d094b36903a5160c0e3 Mon Sep 17 00:00:00 2001 From: jitendra sharma Date: Wed, 19 Feb 2020 14:55:49 +0000 Subject: Change dependency version for commons-codec and spring-core Issue-ID: CLI-246 Signed-off-by: jitendra sharma Change-Id: Ia0a07a417f64733e859ea7f1be6488b95d42cb52 --- framework/pom.xml | 8 ++++++-- .../src/test/java/org/onap/cli/fw/utils/OnapCommandUtilsTest.java | 6 ++++++ 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'framework') diff --git a/framework/pom.xml b/framework/pom.xml index 75d94ee7..7666c49e 100644 --- a/framework/pom.xml +++ b/framework/pom.xml @@ -54,20 +54,24 @@ commons-csv 1.3 + commons-codec commons-codec - 1.9 + 1.13 org.apache.commons commons-io 1.3.2 + org.springframework spring-core - 3.2.9.RELEASE + 5.1.2.RELEASE com.jayway.jsonpath diff --git a/framework/src/test/java/org/onap/cli/fw/utils/OnapCommandUtilsTest.java b/framework/src/test/java/org/onap/cli/fw/utils/OnapCommandUtilsTest.java index df94d594..e40dfdf4 100644 --- a/framework/src/test/java/org/onap/cli/fw/utils/OnapCommandUtilsTest.java +++ b/framework/src/test/java/org/onap/cli/fw/utils/OnapCommandUtilsTest.java @@ -59,6 +59,7 @@ import static java.util.Collections.singletonList; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; +import static org.junit.Assert.assertNotNull; import static org.onap.cli.fw.conf.OnapCommandConstants.IS_INCLUDE; import static org.onap.cli.fw.input.OnapCommandParameterType.ARRAY; import static org.onap.cli.fw.input.OnapCommandParameterType.BOOL; @@ -513,4 +514,9 @@ public class OnapCommandUtilsTest { } }; } + + @Test + public void testMd5(){ + assertNotNull(OnapCommandUtils.md5("a")); + } } -- cgit 1.2.3-korg