You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2016/07/21 21:08:03 UTC

[07/50] [abbrv] logging-log4j2 git commit: Remove incomplete test

Remove incomplete test


Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/eee2e47e
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/eee2e47e
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/eee2e47e

Branch: refs/heads/AutoCloseableLock
Commit: eee2e47ece5036f6e4dd1b198b4ae634fe735df9
Parents: 723040d
Author: Mikael St�ldal <mi...@magine.com>
Authored: Thu Jun 30 10:28:46 2016 +0200
Committer: Mikael St�ldal <mi...@magine.com>
Committed: Thu Jun 30 10:28:46 2016 +0200

----------------------------------------------------------------------
 .../logging/log4j/core/FlowTracingTest.java     | 44 --------------------
 1 file changed, 44 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/eee2e47e/log4j-core/src/test/java/org/apache/logging/log4j/core/FlowTracingTest.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/FlowTracingTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/FlowTracingTest.java
deleted file mode 100644
index feef612..0000000
--- a/log4j-core/src/test/java/org/apache/logging/log4j/core/FlowTracingTest.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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.
- * See the license for the specific language governing permissions and
- * limitations under the license.
- */
-package org.apache.logging.log4j.core;
-
-import org.apache.logging.log4j.LogManager;
-import org.apache.logging.log4j.core.config.ConfigurationFactory;
-import org.apache.logging.log4j.message.EntryMessage;
-import org.junit.BeforeClass;
-import org.junit.Test;
-
-/**
- * Incomplete test to illustrate LOG4J2-1452.
- */
-public class FlowTracingTest {
-
-    @BeforeClass
-    public static void beforeClass() {
-        System.setProperty(ConfigurationFactory.CONFIGURATION_FILE_PROPERTY, "FlowTracingTest.xml");
-    }
-
-    @Test
-    public void testFlowTracing() throws Exception {
-        final org.apache.logging.log4j.Logger logger = LogManager.getLogger("com.foo.Bar");
-
-        EntryMessage entryMessage = logger.traceEntry(logger.getMessageFactory().newMessage("the entry"));
-        logger.info("something else");
-        logger.traceExit(entryMessage);
-    }
-
-}