You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sk...@apache.org on 2005/07/06 14:07:43 UTC

svn commit: r209450 - /jakarta/commons/proper/logging/trunk/src/test/org/apache/commons/logging/simple/DefaultConfigTestCase.java

Author: skitching
Date: Wed Jul  6 05:07:40 2005
New Revision: 209450

URL: http://svn.apache.org/viewcvs?rev=209450&view=rev
Log:
Remove unused constructor, and clear LogFactory.factories cache before each test for cleanliness.

Modified:
    jakarta/commons/proper/logging/trunk/src/test/org/apache/commons/logging/simple/DefaultConfigTestCase.java

Modified: jakarta/commons/proper/logging/trunk/src/test/org/apache/commons/logging/simple/DefaultConfigTestCase.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/logging/trunk/src/test/org/apache/commons/logging/simple/DefaultConfigTestCase.java?rev=209450&r1=209449&r2=209450&view=diff
==============================================================================
--- jakarta/commons/proper/logging/trunk/src/test/org/apache/commons/logging/simple/DefaultConfigTestCase.java (original)
+++ jakarta/commons/proper/logging/trunk/src/test/org/apache/commons/logging/simple/DefaultConfigTestCase.java Wed Jul  6 05:07:40 2005
@@ -42,19 +42,6 @@
 public class DefaultConfigTestCase extends TestCase {
 
 
-    // ----------------------------------------------------------- Constructors
-
-
-    /**
-     * <p>Construct a new instance of this test case.</p>
-     *
-     * @param name Name of the test case
-     */
-    public DefaultConfigTestCase(String name) {
-        super(name);
-    }
-
-
     // ----------------------------------------------------- Instance Variables
 
 
@@ -77,6 +64,7 @@
      * Set up instance variables required by this test case.
      */
     public void setUp() throws Exception {
+        LogFactory.releaseAll();
         setUpFactory();
         setUpLog("TestLogger");
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org