1
0

Rename AvalonLoggerTest to AvalonLoggerTestCase for consistency.

Also remove unneeded constructor.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@209408 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Simon Kitching
2005-07-06 05:15:39 +00:00
parent 85836bd32e
commit 1ac4b57165

View File

@@ -27,23 +27,19 @@ import junit.framework.TestSuite;
* @author <a href="mailto:neeme@apache.org">Neeme Praks</a> * @author <a href="mailto:neeme@apache.org">Neeme Praks</a>
* @version $Revision$ $Date$ * @version $Revision$ $Date$
*/ */
public class AvalonLoggerTest extends AbstractLogTest { public class AvalonLoggerTestCase extends AbstractLogTest {
public static void main(String[] args) { public static void main(String[] args) {
String[] testCaseName = { AvalonLoggerTest.class.getName() }; String[] testCaseName = { AvalonLoggerTestCase.class.getName() };
junit.textui.TestRunner.main(testCaseName); junit.textui.TestRunner.main(testCaseName);
} }
public static Test suite() { public static Test suite() {
TestSuite suite = new TestSuite(); TestSuite suite = new TestSuite();
suite.addTestSuite(AvalonLoggerTest.class); suite.addTestSuite(AvalonLoggerTestCase.class);
return suite; return suite;
} }
public AvalonLoggerTest(String testName) {
super(testName);
}
public Log getLogObject() { public Log getLogObject() {
Log log = new AvalonLogger(new ConsoleLogger()); Log log = new AvalonLogger(new ConsoleLogger());
return log; return log;