@@ -0,0 +1,1803 @@
+/*%0A * #%25L%0A * %25%25%0A * Copyright (C) 2018 BMW Car IT GmbH%0A * %25%25%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *      http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A * #L%25%0A */%0Apackage joynr.test;%0A%0Aimport org.junit.rules.ExternalResource;%0Aimport org.junit.runner.Description;%0Aimport org.junit.runners.model.Statement;%0Aimport org.slf4j.Logger;%0A%0Apublic class JoynrTestLoggingRule extends ExternalResource %7B%0A    private Logger logger;%0A    private String separator;%0A    private String beforeString;%0A    private String afterString;%0A%0A    public JoynrTestLoggingRule(Logger logger) %7B%0A        this.logger = logger;%0A        separator = %22%5B--------%5D%22;%0A        beforeString = %22%22;%0A        afterString = %22%22;%0A    %7D%0A%0A    @Override%0A    protected void before() throws Throwable %7B%0A        logger.info(separator);%0A        logger.info(beforeString);%0A        logger.info(separator);%0A    %7D%0A%0A    @Override%0A    protected void after() %7B%0A        logger.info(separator);%0A        logger.info(afterString);%0A        logger.info(separator);%0A    %7D%0A%0A    @Override%0A    public Statement apply(Statement statement, Description description) %7B%0A        String testName = description.getClassName() + %22.%22 + description.getMethodName();%0A        beforeString = %22%5BRUN TEST%5D %22 + testName;%0A        afterString = %22%5BEND TEST%5D %22 + testName;%0A        return super.apply(statement, description);%0A    %7D%0A%0A%7D%0A

Add JoynrTestLoggingRule to log start and end of test cases