logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mattsic...@apache.org
Subject svn commit: r1582155 - /logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/config/TestConfigurator.java
Date Thu, 27 Mar 2014 02:32:10 GMT
Author: mattsicker
Date: Thu Mar 27 02:32:10 2014
New Revision: 1582155

URL: http://svn.apache.org/r1582155
Log:
Add @RunWith to class.

  - A test class that doesn't end in Test? This should help avoid confusion!

Modified:
    logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/config/TestConfigurator.java

Modified: logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/config/TestConfigurator.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/config/TestConfigurator.java?rev=1582155&r1=1582154&r2=1582155&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/config/TestConfigurator.java
(original)
+++ logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/config/TestConfigurator.java
Thu Mar 27 02:32:10 2014
@@ -27,6 +27,8 @@ import org.apache.logging.log4j.core.fil
 import org.apache.logging.log4j.core.layout.PatternLayout;
 import org.junit.After;
 import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 import java.io.File;
 import java.io.FileInputStream;
@@ -39,6 +41,7 @@ import static org.junit.Assert.*;
 /**
  *
  */
+@RunWith(JUnit4.class)
 public class TestConfigurator {
 
     private static final String CONFIG_NAME = "ConfigTest";



Mime
View raw message