You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by sk...@apache.org on 2007/11/11 12:51:37 UTC

svn commit: r593871 - /commons/proper/logging/trunk/src/test/org/apache/commons/logging/noop/NoOpLogTestCase.java

Author: skitching
Date: Sun Nov 11 03:51:36 2007
New Revision: 593871

URL: http://svn.apache.org/viewvc?rev=593871&view=rev
Log:
LOGGING-117. Clean up system props after unit test so that other unit tests do not fail.

Modified:
    commons/proper/logging/trunk/src/test/org/apache/commons/logging/noop/NoOpLogTestCase.java

Modified: commons/proper/logging/trunk/src/test/org/apache/commons/logging/noop/NoOpLogTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/logging/trunk/src/test/org/apache/commons/logging/noop/NoOpLogTestCase.java?rev=593871&r1=593870&r2=593871&view=diff
==============================================================================
--- commons/proper/logging/trunk/src/test/org/apache/commons/logging/noop/NoOpLogTestCase.java (original)
+++ commons/proper/logging/trunk/src/test/org/apache/commons/logging/noop/NoOpLogTestCase.java Sun Nov 11 03:51:36 2007
@@ -50,6 +50,7 @@
      */
     public void tearDown() {
         LogFactory.releaseAll();
+        System.getProperties().remove("org.apache.commons.logging.Log");
     }
     
     /**