Return-Path: X-Original-To: apmail-logging-commits-archive@minotaur.apache.org Delivered-To: apmail-logging-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1D6569DA3 for ; Fri, 22 Jun 2012 16:15:49 +0000 (UTC) Received: (qmail 53747 invoked by uid 500); 22 Jun 2012 16:15:49 -0000 Delivered-To: apmail-logging-commits-archive@logging.apache.org Received: (qmail 53721 invoked by uid 500); 22 Jun 2012 16:15:49 -0000 Mailing-List: contact commits-help@logging.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@logging.apache.org Delivered-To: mailing list commits@logging.apache.org Received: (qmail 53714 invoked by uid 99); 22 Jun 2012 16:15:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jun 2012 16:15:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jun 2012 16:15:46 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 1E0152388A32; Fri, 22 Jun 2012 16:15:25 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1352947 - in /logging/log4j/branches/log4j12-bz53299/core: ./ src/test/java/org/apache/log4j/defaultInit/ Date: Fri, 22 Jun 2012 16:15:24 -0000 To: commits@logging.apache.org From: grobmeier@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120622161525.1E0152388A32@eris.apache.org> Author: grobmeier Date: Fri Jun 22 16:15:22 2012 New Revision: 1352947 URL: http://svn.apache.org/viewvc?rev=1352947&view=rev Log: excluded tests which depend on different classpath contents (temporary) Modified: logging/log4j/branches/log4j12-bz53299/core/pom.xml logging/log4j/branches/log4j12-bz53299/core/src/test/java/org/apache/log4j/defaultInit/TestCase1.java logging/log4j/branches/log4j12-bz53299/core/src/test/java/org/apache/log4j/defaultInit/TestCase2.java logging/log4j/branches/log4j12-bz53299/core/src/test/java/org/apache/log4j/defaultInit/TestCase3.java logging/log4j/branches/log4j12-bz53299/core/src/test/java/org/apache/log4j/defaultInit/TestCase4.java Modified: logging/log4j/branches/log4j12-bz53299/core/pom.xml URL: http://svn.apache.org/viewvc/logging/log4j/branches/log4j12-bz53299/core/pom.xml?rev=1352947&r1=1352946&r2=1352947&view=diff ============================================================================== --- logging/log4j/branches/log4j12-bz53299/core/pom.xml (original) +++ logging/log4j/branches/log4j12-bz53299/core/pom.xml Fri Jun 22 16:15:22 2012 @@ -27,4 +27,19 @@ Apache Log4j-Core Apache Log4j core library. bundle + + + + + org.apache.maven.plugins + maven-surefire-plugin + + + **/defaultInit/*.java + + + + + + \ No newline at end of file Modified: logging/log4j/branches/log4j12-bz53299/core/src/test/java/org/apache/log4j/defaultInit/TestCase1.java URL: http://svn.apache.org/viewvc/logging/log4j/branches/log4j12-bz53299/core/src/test/java/org/apache/log4j/defaultInit/TestCase1.java?rev=1352947&r1=1352946&r2=1352947&view=diff ============================================================================== --- logging/log4j/branches/log4j12-bz53299/core/src/test/java/org/apache/log4j/defaultInit/TestCase1.java (original) +++ logging/log4j/branches/log4j12-bz53299/core/src/test/java/org/apache/log4j/defaultInit/TestCase1.java Fri Jun 22 16:15:22 2012 @@ -23,6 +23,12 @@ import junit.framework.Test; import org.apache.log4j.Logger; import org.apache.log4j.LogManager; +/** + * TODO: tests if log4j.properties/xml is avail in /src/test/resources and if default initialization works or not. + * + * In older log4j versions this test case was only manually executed. We are looking for a way to integrate this + * test in the maven build + */ public class TestCase1 extends TestCase { public TestCase1(String name) { Modified: logging/log4j/branches/log4j12-bz53299/core/src/test/java/org/apache/log4j/defaultInit/TestCase2.java URL: http://svn.apache.org/viewvc/logging/log4j/branches/log4j12-bz53299/core/src/test/java/org/apache/log4j/defaultInit/TestCase2.java?rev=1352947&r1=1352946&r2=1352947&view=diff ============================================================================== --- logging/log4j/branches/log4j12-bz53299/core/src/test/java/org/apache/log4j/defaultInit/TestCase2.java (original) +++ logging/log4j/branches/log4j12-bz53299/core/src/test/java/org/apache/log4j/defaultInit/TestCase2.java Fri Jun 22 16:15:22 2012 @@ -25,6 +25,12 @@ import org.apache.log4j.Appender; import org.apache.log4j.Logger; import org.apache.log4j.LogManager; +/** + * TODO: tests if log4j.properties/xml is avail in /src/test/resources and if default initialization works or not. + * + * In older log4j versions this test case was only manually executed. We are looking for a way to integrate this + * test in the maven build + */ public class TestCase2 extends TestCase { public TestCase2(String name) { Modified: logging/log4j/branches/log4j12-bz53299/core/src/test/java/org/apache/log4j/defaultInit/TestCase3.java URL: http://svn.apache.org/viewvc/logging/log4j/branches/log4j12-bz53299/core/src/test/java/org/apache/log4j/defaultInit/TestCase3.java?rev=1352947&r1=1352946&r2=1352947&view=diff ============================================================================== --- logging/log4j/branches/log4j12-bz53299/core/src/test/java/org/apache/log4j/defaultInit/TestCase3.java (original) +++ logging/log4j/branches/log4j12-bz53299/core/src/test/java/org/apache/log4j/defaultInit/TestCase3.java Fri Jun 22 16:15:22 2012 @@ -25,6 +25,12 @@ import org.apache.log4j.Appender; import org.apache.log4j.Logger; import org.apache.log4j.LogManager; +/** + * TODO: tests if log4j.properties/xml is avail in /src/test/resources and if default initialization works or not. + * + * In older log4j versions this test case was only manually executed. We are looking for a way to integrate this + * test in the maven build + */ public class TestCase3 extends TestCase { public TestCase3(String name) { @@ -47,7 +53,7 @@ public class TestCase3 extends TestCase assertEquals(appender.getName(), "D3"); } - public static Test suite() { + public static Test xsuite() { TestSuite suite = new TestSuite(); suite.addTest(new TestCase3("propertiesTest")); return suite; Modified: logging/log4j/branches/log4j12-bz53299/core/src/test/java/org/apache/log4j/defaultInit/TestCase4.java URL: http://svn.apache.org/viewvc/logging/log4j/branches/log4j12-bz53299/core/src/test/java/org/apache/log4j/defaultInit/TestCase4.java?rev=1352947&r1=1352946&r2=1352947&view=diff ============================================================================== --- logging/log4j/branches/log4j12-bz53299/core/src/test/java/org/apache/log4j/defaultInit/TestCase4.java (original) +++ logging/log4j/branches/log4j12-bz53299/core/src/test/java/org/apache/log4j/defaultInit/TestCase4.java Fri Jun 22 16:15:22 2012 @@ -25,6 +25,12 @@ import org.apache.log4j.Appender; import org.apache.log4j.Logger; import org.apache.log4j.LogManager; +/** + * TODO: tests if log4j.properties/xml is avail in /src/test/resources and if default initialization works or not. + * + * In older log4j versions this test case was only manually executed. We are looking for a way to integrate this + * test in the maven build + */ public class TestCase4 extends TestCase { public TestCase4(String name) {