Remove unused constructor, and clear LogFactory.factories cache before each test for cleanliness.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@209450 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -42,19 +42,6 @@ import org.apache.commons.logging.impl.SimpleLog;
|
||||
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 @@ public class DefaultConfigTestCase extends TestCase {
|
||||
* Set up instance variables required by this test case.
|
||||
*/
|
||||
public void setUp() throws Exception {
|
||||
LogFactory.releaseAll();
|
||||
setUpFactory();
|
||||
setUpLog("TestLogger");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user