From 313e73a58a9a01bbceb007b6de617fda521bdd6e Mon Sep 17 00:00:00 2001 From: vempo Date: Thu, 25 Oct 2018 09:44:35 +0000 Subject: Enabled unit tests of configuration framework Added slf4j binding for tests. Updated patch version of commons-configuration. Change-Id: Ifef09eb3591f01be4f90f16758448018361dcdb7 Issue-ID: SDC-1867 Signed-off-by: vempo --- .../onap-configuration-management-core/pom.xml | 12 ++++----- .../src/test/resources/logback-test.xml | 29 ++++++++++++++++++++++ 2 files changed, 35 insertions(+), 6 deletions(-) create mode 100644 common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/logback-test.xml (limited to 'common/onap-common-configuration-management') diff --git a/common/onap-common-configuration-management/onap-configuration-management-core/pom.xml b/common/onap-common-configuration-management/onap-configuration-management-core/pom.xml index 7c5573c50a..c615270ead 100755 --- a/common/onap-common-configuration-management/onap-configuration-management-core/pom.xml +++ b/common/onap-common-configuration-management/onap-configuration-management-core/pom.xml @@ -42,7 +42,7 @@ org.apache.commons commons-configuration2 - 2.1 + 2.3 commons-logging @@ -110,6 +110,11 @@ org.slf4j slf4j-api + + ch.qos.logback + logback-classic + test + @@ -119,11 +124,6 @@ maven-surefire-plugin ${mvn.surefire.version} - - ${jacoco.skip} ${project.basedir}/src/test/resources ${user.home}/TestResources diff --git a/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/logback-test.xml b/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/logback-test.xml new file mode 100644 index 0000000000..73ffeeaf4e --- /dev/null +++ b/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/logback-test.xml @@ -0,0 +1,29 @@ + + + + + + + %d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n + + + + + + + + \ No newline at end of file -- cgit 1.2.3-korg