logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grobme...@apache.org
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 GMT
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 @@
   <name>Apache Log4j-Core</name>
   <description>Apache Log4j core library.</description>
   <packaging>bundle</packaging>
+
+  <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <exclude>**/defaultInit/*.java</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
+        </plugins>
+  </build>
+
 </project>
\ 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) {



Mime
View raw message