1
0

unit test code

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@138920 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sean Sullivan
2002-10-11 04:52:59 +00:00
parent 4f4e1d7a3c
commit 3bd953f430
3 changed files with 234 additions and 0 deletions

View File

@@ -0,0 +1,52 @@
package org.apache.commons.logging;
import org.apache.commons.logging.impl.SimpleLog;
import junit.framework.*;
/**
*
*
*
*
*
*
*/
public class SimpleLogTest extends AbstractLogTest
{
/**
*
*
* @param testName
*
*/
public SimpleLogTest(String testName)
{
super(testName);
}
/**
*
*
*
*/
public Log getLogObject()
{
return (Log) new SimpleLog(this.getClass().getName());
}
public static void main(String[] args)
{
String[] testCaseName = { SimpleLogTest.class.getName() };
junit.textui.TestRunner.main(testCaseName);
}
public static Test suite() {
TestSuite suite = new TestSuite();
suite.addTestSuite(SimpleLogTest.class);
return suite;
}
}