X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=src%2Ftest%2Fjava%2Forg%2Fonap%2Fdmaap%2Fmr%2Fcambria%2Fsecurity%2Fimpl%2FTestRunner.java;h=57285f601a326cdd070d1fc8d7cd1a8b11d734f2;hb=refs%2Fchanges%2F82%2F117182%2F4;hp=2699acd084029a6b7a6cbfc54e0a5d8d1a554532;hpb=8333cde6f59d9a3b341c7e762cf68df8f316b962;p=dmaap%2Fmessagerouter%2Fmsgrtr.git diff --git a/src/test/java/org/onap/dmaap/mr/cambria/security/impl/TestRunner.java b/src/test/java/org/onap/dmaap/mr/cambria/security/impl/TestRunner.java index 2699acd..57285f6 100644 --- a/src/test/java/org/onap/dmaap/mr/cambria/security/impl/TestRunner.java +++ b/src/test/java/org/onap/dmaap/mr/cambria/security/impl/TestRunner.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,24 +18,24 @@ * ============LICENSE_END========================================================= */ - package org.onap.dmaap.mr.cambria.security.impl; +package org.onap.dmaap.mr.cambria.security.impl; +import org.apache.logging.log4j.LogManager; +import org.apache.logging.log4j.Logger; import org.junit.runner.JUnitCore; import org.junit.runner.Result; import org.junit.runner.notification.Failure; -import org.apache.log4j.Logger; public class TestRunner { - private static final Logger LOGGER = Logger.getLogger(TestRunner.class); - public static void main(String[] args) { - // TODO Auto-generated method stub - Result result = JUnitCore.runClasses(JUnitTestSuite.class); - for (Failure failure : result.getFailures()) { - LOGGER.info(failure.toString()); - - } - LOGGER.info(result.wasSuccessful()); - } + private static final Logger LOGGER = LogManager.getLogger(TestRunner.class); + public static void main(String[] args) { + // TODO Auto-generated method stub + Result result = JUnitCore.runClasses(JUnitTestSuite.class); + for (Failure failure : result.getFailures()) { + LOGGER.info(failure.toString()); + } + LOGGER.info(result.wasSuccessful()); + } }