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:
@@ -27,25 +27,21 @@ 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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user