1
0

Use Checkstyle sortStaticImportsAlphabetically

This commit is contained in:
Gary Gregory
2023-11-19 09:01:36 -05:00
parent 0b9cd8bb83
commit b10322e41e
36 changed files with 97 additions and 95 deletions

View File

@@ -69,6 +69,7 @@ limitations under the License.
<property name="groups" value="java,javax,org"/> <property name="groups" value="java,javax,org"/>
<property name="ordered" value="true"/> <property name="ordered" value="true"/>
<property name="separated" value="true"/> <property name="separated" value="true"/>
<property name="sortStaticImportsAlphabetically" value="true"/>
</module> </module>
</module> </module>

View File

@@ -26,7 +26,6 @@ under the License.
<parent> <parent>
<groupId>org.apache.commons</groupId> <groupId>org.apache.commons</groupId>
<artifactId>commons-parent</artifactId> <artifactId>commons-parent</artifactId>
<!-- Tests are special, 61 causes issues, 64 is OK locally but not on GitHub -->
<version>64</version> <version>64</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View File

@@ -16,6 +16,12 @@
*/ */
package org.apache.commons.logging.impl; package org.apache.commons.logging.impl;
import static org.slf4j.spi.LocationAwareLogger.DEBUG_INT;
import static org.slf4j.spi.LocationAwareLogger.ERROR_INT;
import static org.slf4j.spi.LocationAwareLogger.INFO_INT;
import static org.slf4j.spi.LocationAwareLogger.TRACE_INT;
import static org.slf4j.spi.LocationAwareLogger.WARN_INT;
import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap; import java.util.concurrent.ConcurrentMap;
@@ -29,12 +35,6 @@ import org.slf4j.Marker;
import org.slf4j.MarkerFactory; import org.slf4j.MarkerFactory;
import org.slf4j.spi.LocationAwareLogger; import org.slf4j.spi.LocationAwareLogger;
import static org.slf4j.spi.LocationAwareLogger.DEBUG_INT;
import static org.slf4j.spi.LocationAwareLogger.ERROR_INT;
import static org.slf4j.spi.LocationAwareLogger.INFO_INT;
import static org.slf4j.spi.LocationAwareLogger.TRACE_INT;
import static org.slf4j.spi.LocationAwareLogger.WARN_INT;
/** /**
* Logger factory hardcoded to send everything to SLF4J. * Logger factory hardcoded to send everything to SLF4J.
* *

View File

@@ -17,6 +17,7 @@
package org.apache.commons.logging; package org.apache.commons.logging;
import java.lang.reflect.InvocationTargetException; import java.lang.reflect.InvocationTargetException;
import junit.framework.TestCase; import junit.framework.TestCase;
/** /**

View File

@@ -26,6 +26,7 @@ import java.util.Collections;
import java.util.Enumeration; import java.util.Enumeration;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
import junit.framework.Assert; import junit.framework.Assert;
/** /**

View File

@@ -16,14 +16,14 @@
*/ */
package org.apache.commons.logging.avalon; package org.apache.commons.logging.avalon;
import junit.framework.Test;
import junit.framework.TestSuite;
import org.apache.avalon.framework.logger.NullLogger; import org.apache.avalon.framework.logger.NullLogger;
import org.apache.commons.logging.AbstractLogTest; import org.apache.commons.logging.AbstractLogTest;
import org.apache.commons.logging.Log; import org.apache.commons.logging.Log;
import org.apache.commons.logging.impl.AvalonLogger; import org.apache.commons.logging.impl.AvalonLogger;
import junit.framework.Test;
import junit.framework.TestSuite;
/** /**
*/ */
public class AvalonLoggerTestCase extends AbstractLogTest { public class AvalonLoggerTestCase extends AbstractLogTest {

View File

@@ -20,13 +20,13 @@ package org.apache.commons.logging.config;
import java.net.URL; import java.net.URL;
import junit.framework.Test;
import junit.framework.TestCase;
import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.LogFactory;
import org.apache.commons.logging.PathableClassLoader; import org.apache.commons.logging.PathableClassLoader;
import org.apache.commons.logging.PathableTestSuite; import org.apache.commons.logging.PathableTestSuite;
import junit.framework.Test;
import junit.framework.TestCase;
/** /**
* Tests that verify that the process of configuring logging on startup * Tests that verify that the process of configuring logging on startup

View File

@@ -20,13 +20,13 @@ package org.apache.commons.logging.config;
import java.net.URL; import java.net.URL;
import junit.framework.Test;
import junit.framework.TestCase;
import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.LogFactory;
import org.apache.commons.logging.PathableClassLoader; import org.apache.commons.logging.PathableClassLoader;
import org.apache.commons.logging.PathableTestSuite; import org.apache.commons.logging.PathableTestSuite;
import junit.framework.Test;
import junit.framework.TestCase;
/** /**
* Tests that verify that the process of configuring logging on startup * Tests that verify that the process of configuring logging on startup

View File

@@ -17,11 +17,11 @@
package org.apache.commons.logging.jdk14; package org.apache.commons.logging.jdk14;
import junit.framework.Test;
import org.apache.commons.logging.PathableClassLoader; import org.apache.commons.logging.PathableClassLoader;
import org.apache.commons.logging.PathableTestSuite; import org.apache.commons.logging.PathableTestSuite;
import junit.framework.Test;
/** /**
* TestCase for Jdk14 logging when the commons-logging-api jar file is in * TestCase for Jdk14 logging when the commons-logging-api jar file is in

View File

@@ -18,11 +18,11 @@
package org.apache.commons.logging.jdk14; package org.apache.commons.logging.jdk14;
import junit.framework.Test;
import org.apache.commons.logging.PathableClassLoader; import org.apache.commons.logging.PathableClassLoader;
import org.apache.commons.logging.PathableTestSuite; import org.apache.commons.logging.PathableTestSuite;
import junit.framework.Test;
/** /**
* TestCase for Jdk14 logging when the commons-logging jar file is in * TestCase for Jdk14 logging when the commons-logging jar file is in

View File

@@ -28,12 +28,12 @@ import java.util.logging.LogManager;
import java.util.logging.LogRecord; import java.util.logging.LogRecord;
import java.util.logging.Logger; import java.util.logging.Logger;
import junit.framework.Test;
import org.apache.commons.logging.DummyException; import org.apache.commons.logging.DummyException;
import org.apache.commons.logging.PathableClassLoader; import org.apache.commons.logging.PathableClassLoader;
import org.apache.commons.logging.PathableTestSuite; import org.apache.commons.logging.PathableTestSuite;
import junit.framework.Test;
/** /**
* <p>TestCase for JDK 1.4 logging when running on a JDK 1.4 system with * <p>TestCase for JDK 1.4 logging when running on a JDK 1.4 system with

View File

@@ -23,14 +23,14 @@ import java.io.ByteArrayOutputStream;
import java.io.ObjectInputStream; import java.io.ObjectInputStream;
import java.io.ObjectOutputStream; import java.io.ObjectOutputStream;
import junit.framework.Test;
import junit.framework.TestCase;
import org.apache.commons.logging.Log; import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.LogFactory;
import org.apache.commons.logging.PathableClassLoader; import org.apache.commons.logging.PathableClassLoader;
import org.apache.commons.logging.PathableTestSuite; import org.apache.commons.logging.PathableTestSuite;
import junit.framework.Test;
import junit.framework.TestCase;
/** /**
* <p>TestCase for JDK 1.4 logging when running on a JDK 1.4 system with * <p>TestCase for JDK 1.4 logging when running on a JDK 1.4 system with

View File

@@ -25,12 +25,12 @@ import java.io.ObjectOutputStream;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import junit.framework.TestCase;
import org.apache.commons.logging.DummyException; import org.apache.commons.logging.DummyException;
import org.apache.commons.logging.Log; import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.LogFactory;
import junit.framework.TestCase;
/** /**
* Abstract set of tests that can be executed with various classpaths set. * Abstract set of tests that can be executed with various classpaths set.

View File

@@ -17,12 +17,12 @@
package org.apache.commons.logging.log4j.log4j12; package org.apache.commons.logging.log4j.log4j12;
import junit.framework.Test;
import junit.framework.TestCase;
import org.apache.commons.logging.PathableClassLoader; import org.apache.commons.logging.PathableClassLoader;
import org.apache.commons.logging.PathableTestSuite; import org.apache.commons.logging.PathableTestSuite;
import junit.framework.Test;
import junit.framework.TestCase;
/** /**
* Tests for Log4J logging that emulate a webapp running within * Tests for Log4J logging that emulate a webapp running within

View File

@@ -17,12 +17,12 @@
package org.apache.commons.logging.log4j.log4j12; package org.apache.commons.logging.log4j.log4j12;
import junit.framework.Test;
import junit.framework.TestCase;
import org.apache.commons.logging.PathableClassLoader; import org.apache.commons.logging.PathableClassLoader;
import org.apache.commons.logging.PathableTestSuite; import org.apache.commons.logging.PathableTestSuite;
import junit.framework.Test;
import junit.framework.TestCase;
/** /**
* Tests for Log4J logging when there is only one classloader and everything * Tests for Log4J logging when there is only one classloader and everything
* is in it, as would be the situation for a standalone application. * is in it, as would be the situation for a standalone application.

View File

@@ -17,12 +17,12 @@
package org.apache.commons.logging.log4j.log4j12; package org.apache.commons.logging.log4j.log4j12;
import junit.framework.Test;
import junit.framework.TestCase;
import org.apache.commons.logging.PathableClassLoader; import org.apache.commons.logging.PathableClassLoader;
import org.apache.commons.logging.PathableTestSuite; import org.apache.commons.logging.PathableTestSuite;
import junit.framework.Test;
import junit.framework.TestCase;
/** /**
* Tests for Log4J logging that emulate a webapp running within * Tests for Log4J logging that emulate a webapp running within

View File

@@ -17,12 +17,12 @@
package org.apache.commons.logging.log4j.log4j12; package org.apache.commons.logging.log4j.log4j12;
import junit.framework.Test;
import junit.framework.TestCase;
import org.apache.commons.logging.PathableClassLoader; import org.apache.commons.logging.PathableClassLoader;
import org.apache.commons.logging.PathableTestSuite; import org.apache.commons.logging.PathableTestSuite;
import junit.framework.Test;
import junit.framework.TestCase;
/** /**
* Tests for Log4J logging that emulate a webapp running within * Tests for Log4J logging that emulate a webapp running within
* a container where all the necessary libs are in the parent. * a container where all the necessary libs are in the parent.

View File

@@ -18,7 +18,6 @@ package org.apache.commons.logging.log4j2;
import java.util.List; import java.util.List;
import junit.framework.TestCase;
import org.apache.commons.logging.Log; import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.LogFactory;
import org.apache.commons.logging.impl.Log4jApiLogFactory; import org.apache.commons.logging.impl.Log4jApiLogFactory;
@@ -32,6 +31,8 @@ import org.apache.logging.log4j.core.test.appender.ListAppender;
import org.apache.logging.log4j.message.ObjectMessage; import org.apache.logging.log4j.message.ObjectMessage;
import org.apache.logging.log4j.message.SimpleMessage; import org.apache.logging.log4j.message.SimpleMessage;
import junit.framework.TestCase;
public class CallerInformationTestCase extends TestCase { public class CallerInformationTestCase extends TestCase {
private static final Object OBJ = new Object(); private static final Object OBJ = new Object();

View File

@@ -23,8 +23,6 @@ import java.io.ByteArrayOutputStream;
import java.io.ObjectInputStream; import java.io.ObjectInputStream;
import java.io.ObjectOutputStream; import java.io.ObjectOutputStream;
import junit.framework.Test;
import org.apache.commons.logging.AbstractLogTest; import org.apache.commons.logging.AbstractLogTest;
import org.apache.commons.logging.Log; import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.LogFactory;
@@ -32,6 +30,8 @@ import org.apache.commons.logging.PathableClassLoader;
import org.apache.commons.logging.PathableTestSuite; import org.apache.commons.logging.PathableTestSuite;
import org.apache.commons.logging.impl.LogKitLogger; import org.apache.commons.logging.impl.LogKitLogger;
import junit.framework.Test;
/** /**
* Basic tests for Avalon LogKit logger adapter. * Basic tests for Avalon LogKit logger adapter.
*/ */

View File

@@ -23,13 +23,13 @@ import java.util.Enumeration;
import java.util.HashSet; import java.util.HashSet;
import java.util.Set; import java.util.Set;
import junit.framework.Test;
import junit.framework.TestCase;
import org.apache.commons.logging.Artifacts; import org.apache.commons.logging.Artifacts;
import org.apache.commons.logging.PathableClassLoader; import org.apache.commons.logging.PathableClassLoader;
import org.apache.commons.logging.PathableTestSuite; import org.apache.commons.logging.PathableTestSuite;
import junit.framework.Test;
import junit.framework.TestCase;
/** /**
* Tests for the PathableTestSuite and PathableClassLoader functionality, * Tests for the PathableTestSuite and PathableClassLoader functionality,
* where lookup order for the PathableClassLoader is child-first. * where lookup order for the PathableClassLoader is child-first.

View File

@@ -19,12 +19,12 @@ package org.apache.commons.logging.pathable;
import java.net.URL; import java.net.URL;
import java.net.URLClassLoader; import java.net.URLClassLoader;
import junit.framework.Test;
import junit.framework.TestCase;
import org.apache.commons.logging.PathableClassLoader; import org.apache.commons.logging.PathableClassLoader;
import org.apache.commons.logging.PathableTestSuite; import org.apache.commons.logging.PathableTestSuite;
import junit.framework.Test;
import junit.framework.TestCase;
/** /**
* Tests for the PathableTestSuite class. * Tests for the PathableTestSuite class.
*/ */

View File

@@ -25,13 +25,13 @@ import java.util.Enumeration;
import java.util.HashSet; import java.util.HashSet;
import java.util.Set; import java.util.Set;
import junit.framework.Test;
import junit.framework.TestCase;
import org.apache.commons.logging.Artifacts; import org.apache.commons.logging.Artifacts;
import org.apache.commons.logging.PathableClassLoader; import org.apache.commons.logging.PathableClassLoader;
import org.apache.commons.logging.PathableTestSuite; import org.apache.commons.logging.PathableTestSuite;
import junit.framework.Test;
import junit.framework.TestCase;
/** /**
* Tests for the PathableTestSuite and PathableClassLoader functionality, * Tests for the PathableTestSuite and PathableClassLoader functionality,
* where lookup order for the PathableClassLoader is parent-first. * where lookup order for the PathableClassLoader is parent-first.

View File

@@ -24,14 +24,13 @@ import java.lang.reflect.Method;
import java.security.AllPermission; import java.security.AllPermission;
import java.util.Hashtable; import java.util.Hashtable;
import junit.framework.Test;
import junit.framework.TestCase;
import org.apache.commons.logging.Log; import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.LogFactory;
import org.apache.commons.logging.PathableClassLoader; import org.apache.commons.logging.PathableClassLoader;
import org.apache.commons.logging.PathableTestSuite; import org.apache.commons.logging.PathableTestSuite;
import org.junit.Assume;
import junit.framework.Test;
import junit.framework.TestCase;
/** /**
* Tests for logging with a security policy that allows JCL access to everything. * Tests for logging with a security policy that allows JCL access to everything.

View File

@@ -25,14 +25,13 @@ import java.lang.reflect.Field;
import java.lang.reflect.Method; import java.lang.reflect.Method;
import java.util.Hashtable; import java.util.Hashtable;
import junit.framework.Test;
import junit.framework.TestCase;
import org.apache.commons.logging.Log; import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.LogFactory;
import org.apache.commons.logging.PathableClassLoader; import org.apache.commons.logging.PathableClassLoader;
import org.apache.commons.logging.PathableTestSuite; import org.apache.commons.logging.PathableTestSuite;
import org.junit.Assume;
import junit.framework.Test;
import junit.framework.TestCase;
/** /**
* Tests for logging with a security policy that forbids JCL access to anything. * Tests for logging with a security policy that forbids JCL access to anything.

View File

@@ -16,11 +16,11 @@
*/ */
package org.apache.commons.logging.serviceloader; package org.apache.commons.logging.serviceloader;
import junit.framework.TestCase;
import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.LogFactory;
import org.apache.commons.logging.serviceloader.internal.DummyLogFactory; import org.apache.commons.logging.serviceloader.internal.DummyLogFactory;
import junit.framework.TestCase;
public class ServiceLoaderTestCase extends TestCase { public class ServiceLoaderTestCase extends TestCase {
public void testServiceLoader() { public void testServiceLoader() {

View File

@@ -17,13 +17,13 @@
package org.apache.commons.logging.servlet; package org.apache.commons.logging.servlet;
import junit.framework.Test;
import junit.framework.TestCase;
import org.apache.commons.logging.PathableClassLoader; import org.apache.commons.logging.PathableClassLoader;
import org.apache.commons.logging.PathableTestSuite; import org.apache.commons.logging.PathableTestSuite;
import org.apache.commons.logging.impl.ServletContextCleaner; import org.apache.commons.logging.impl.ServletContextCleaner;
import junit.framework.Test;
import junit.framework.TestCase;
/** /**
* Tests for ServletContextCleaner utility class. * Tests for ServletContextCleaner utility class.

View File

@@ -22,14 +22,14 @@ import java.util.ArrayList;
import java.util.Iterator; import java.util.Iterator;
import java.util.List; import java.util.List;
import junit.framework.Test;
import org.apache.commons.logging.DummyException; import org.apache.commons.logging.DummyException;
import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.LogFactory;
import org.apache.commons.logging.PathableClassLoader; import org.apache.commons.logging.PathableClassLoader;
import org.apache.commons.logging.PathableTestSuite; import org.apache.commons.logging.PathableTestSuite;
import org.apache.commons.logging.impl.SimpleLog; import org.apache.commons.logging.impl.SimpleLog;
import junit.framework.Test;
/** /**
* <p>TestCase for simple logging when running with custom configuration * <p>TestCase for simple logging when running with custom configuration

View File

@@ -21,11 +21,11 @@ import java.text.DateFormat;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;
import java.util.Date; import java.util.Date;
import junit.framework.Test;
import org.apache.commons.logging.PathableClassLoader; import org.apache.commons.logging.PathableClassLoader;
import org.apache.commons.logging.PathableTestSuite; import org.apache.commons.logging.PathableTestSuite;
import junit.framework.Test;
/** /**
* Tests custom date time format configuration * Tests custom date time format configuration

View File

@@ -23,15 +23,15 @@ import java.io.ByteArrayOutputStream;
import java.io.ObjectInputStream; import java.io.ObjectInputStream;
import java.io.ObjectOutputStream; import java.io.ObjectOutputStream;
import junit.framework.Test;
import junit.framework.TestCase;
import org.apache.commons.logging.Log; import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.LogFactory;
import org.apache.commons.logging.PathableClassLoader; import org.apache.commons.logging.PathableClassLoader;
import org.apache.commons.logging.PathableTestSuite; import org.apache.commons.logging.PathableTestSuite;
import org.apache.commons.logging.impl.SimpleLog; import org.apache.commons.logging.impl.SimpleLog;
import junit.framework.Test;
import junit.framework.TestCase;
/** /**
* <p>TestCase for simple logging when running with zero configuration * <p>TestCase for simple logging when running with zero configuration

View File

@@ -20,6 +20,13 @@ import java.util.ArrayList;
import java.util.Collections; import java.util.Collections;
import java.util.List; import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.commons.logging.impl.Slf4jLogFactory;
import org.slf4j.LoggerFactory;
import org.slf4j.Marker;
import org.slf4j.MarkerFactory;
import ch.qos.logback.classic.Level; import ch.qos.logback.classic.Level;
import ch.qos.logback.classic.Logger; import ch.qos.logback.classic.Logger;
import ch.qos.logback.classic.LoggerContext; import ch.qos.logback.classic.LoggerContext;
@@ -29,12 +36,6 @@ import ch.qos.logback.core.filter.Filter;
import ch.qos.logback.core.read.ListAppender; import ch.qos.logback.core.read.ListAppender;
import ch.qos.logback.core.spi.FilterReply; import ch.qos.logback.core.spi.FilterReply;
import junit.framework.TestCase; import junit.framework.TestCase;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.commons.logging.impl.Slf4jLogFactory;
import org.slf4j.LoggerFactory;
import org.slf4j.Marker;
import org.slf4j.MarkerFactory;
public class CallerInformationTestCase extends TestCase { public class CallerInformationTestCase extends TestCase {

View File

@@ -16,14 +16,14 @@
*/ */
package org.apache.commons.logging.tccl; package org.apache.commons.logging.tccl;
import junit.framework.Test;
import junit.framework.TestCase;
import org.apache.commons.logging.Log; import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.LogFactory;
import org.apache.commons.logging.PathableClassLoader; import org.apache.commons.logging.PathableClassLoader;
import org.apache.commons.logging.PathableTestSuite; import org.apache.commons.logging.PathableTestSuite;
import junit.framework.Test;
import junit.framework.TestCase;
/** /**
* Simulates the case when TCCL is badly set and cannot load JCL. * Simulates the case when TCCL is badly set and cannot load JCL.
*/ */

View File

@@ -16,13 +16,13 @@
*/ */
package org.apache.commons.logging.tccl; package org.apache.commons.logging.tccl;
import junit.framework.Test;
import junit.framework.TestCase;
import org.apache.commons.logging.Log; import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.LogFactory;
import org.apache.commons.logging.PathableTestSuite; import org.apache.commons.logging.PathableTestSuite;
import junit.framework.Test;
import junit.framework.TestCase;
/** /**
* Simulates the case when TCCL is set to NULL. * Simulates the case when TCCL is set to NULL.
*/ */

View File

@@ -20,15 +20,15 @@ package org.apache.commons.logging.tccl.log;
import java.net.URL; import java.net.URL;
import junit.framework.Test;
import junit.framework.TestCase;
import org.apache.commons.logging.Log; import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogConfigurationException; import org.apache.commons.logging.LogConfigurationException;
import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.LogFactory;
import org.apache.commons.logging.PathableClassLoader; import org.apache.commons.logging.PathableClassLoader;
import org.apache.commons.logging.PathableTestSuite; import org.apache.commons.logging.PathableTestSuite;
import junit.framework.Test;
import junit.framework.TestCase;
/** /**
* Verify that by default LogFactoryImpl is loaded from the tccl classloader. * Verify that by default LogFactoryImpl is loaded from the tccl classloader.

View File

@@ -20,14 +20,14 @@ package org.apache.commons.logging.tccl.log;
import java.net.URL; import java.net.URL;
import junit.framework.Test;
import junit.framework.TestCase;
import org.apache.commons.logging.Log; import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.LogFactory;
import org.apache.commons.logging.PathableClassLoader; import org.apache.commons.logging.PathableClassLoader;
import org.apache.commons.logging.PathableTestSuite; import org.apache.commons.logging.PathableTestSuite;
import junit.framework.Test;
import junit.framework.TestCase;
/** /**
* Verify that by default the standard LogFactoryImpl class loads a * Verify that by default the standard LogFactoryImpl class loads a

View File

@@ -20,13 +20,13 @@ package org.apache.commons.logging.tccl.logfactory;
import java.net.URL; import java.net.URL;
import junit.framework.Test;
import junit.framework.TestCase;
import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.LogFactory;
import org.apache.commons.logging.PathableClassLoader; import org.apache.commons.logging.PathableClassLoader;
import org.apache.commons.logging.PathableTestSuite; import org.apache.commons.logging.PathableTestSuite;
import junit.framework.Test;
import junit.framework.TestCase;
/** /**
* Verify that a commons-logging.properties file can prevent a custom * Verify that a commons-logging.properties file can prevent a custom

View File

@@ -20,13 +20,13 @@ package org.apache.commons.logging.tccl.logfactory;
import java.net.URL; import java.net.URL;
import junit.framework.Test;
import junit.framework.TestCase;
import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.LogFactory;
import org.apache.commons.logging.PathableClassLoader; import org.apache.commons.logging.PathableClassLoader;
import org.apache.commons.logging.PathableTestSuite; import org.apache.commons.logging.PathableTestSuite;
import junit.framework.Test;
import junit.framework.TestCase;
/** /**
* Verify that by default a custom LogFactoryImpl is loaded from the * Verify that by default a custom LogFactoryImpl is loaded from the