From cabe143a7c7c8011139cbb3c154abc4c3616c66f Mon Sep 17 00:00:00 2001 From: ajay_dp001 Date: Thu, 28 Jan 2021 14:33:07 +0530 Subject: [DMaap-msgrtr] Update Security Vulnerabilities - Log4j version 1.2.17 to 2.13.3 - commons-codec version 1.11 to 1.15 - jackson-databind version 2.8.11.1 to 2.11.2 - grails-bootstrap version 2.5.4 to 4.0.1 - httpclient version 4.5.3 to 4.5.13 - Code Refactoring Issue-ID: DMAAP-1515 Signed-off-by: ajay_dp001 Change-Id: I6d52dd85e1ca82b5863815b26e4d521f9dac28b7 --- .../mr/cambria/transaction/JUnitTestSuite.java | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src/test/java/org/onap/dmaap/mr/cambria/transaction/JUnitTestSuite.java') diff --git a/src/test/java/org/onap/dmaap/mr/cambria/transaction/JUnitTestSuite.java b/src/test/java/org/onap/dmaap/mr/cambria/transaction/JUnitTestSuite.java index eded211..1fad8f3 100644 --- a/src/test/java/org/onap/dmaap/mr/cambria/transaction/JUnitTestSuite.java +++ b/src/test/java/org/onap/dmaap/mr/cambria/transaction/JUnitTestSuite.java @@ -7,9 +7,9 @@ * 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 - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -18,25 +18,25 @@ * ============LICENSE_END========================================================= */ - package org.onap.dmaap.mr.cambria.transaction; +package org.onap.dmaap.mr.cambria.transaction; import junit.framework.TestSuite; - +import org.apache.logging.log4j.LogManager; +import org.apache.logging.log4j.Logger; import org.junit.runner.RunWith; import org.junit.runners.Suite; import org.junit.runners.Suite.SuiteClasses; -import org.apache.log4j.Logger; @RunWith(Suite.class) -@SuiteClasses({ TransactionObjTest.class, TrnRequestTest.class, }) +@SuiteClasses({TransactionObjTest.class, TrnRequestTest.class,}) public class JUnitTestSuite { - private static final Logger LOGGER = Logger.getLogger(JUnitTestSuite.class); - public static void main(String[] args) { - LOGGER.info("Running the test suite"); - - TestSuite tstSuite = new TestSuite(); - LOGGER.info("Total Test Counts " + tstSuite.countTestCases()); - } + private static final Logger LOGGER = LogManager.getLogger(JUnitTestSuite.class); + + public static void main(String[] args) { + LOGGER.info("Running the test suite"); + TestSuite tstSuite = new TestSuite(); + LOGGER.info("Total Test Counts " + tstSuite.countTestCases()); + } } -- cgit 1.2.3-korg