Remove trailing whitespace
This commit is contained in:
@@ -41,7 +41,7 @@ import junit.framework.TestCase;
|
|||||||
*/
|
*/
|
||||||
public class FirstPriorityConfigTestCase extends TestCase {
|
public class FirstPriorityConfigTestCase extends TestCase {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the tests included in this test suite.
|
* Return the tests included in this test suite.
|
||||||
@@ -99,7 +99,7 @@ public class FirstPriorityConfigTestCase extends TestCase {
|
|||||||
LogFactory.releaseAll();
|
LogFactory.releaseAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Verify that the config file being used is the one containing
|
* Verify that the config file being used is the one containing
|
||||||
* the desired configId value.
|
* the desired configId value.
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ import junit.framework.TestCase;
|
|||||||
|
|
||||||
public class PriorityConfigTestCase extends TestCase {
|
public class PriorityConfigTestCase extends TestCase {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the tests included in this test suite.
|
* Return the tests included in this test suite.
|
||||||
@@ -117,7 +117,7 @@ public class PriorityConfigTestCase extends TestCase {
|
|||||||
LogFactory.releaseAll();
|
LogFactory.releaseAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Verify that the config file being used is the one containing
|
* Verify that the config file being used is the one containing
|
||||||
* the desired configId value.
|
* the desired configId value.
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ public class CustomConfigTestCase extends DefaultConfigTestCase {
|
|||||||
|
|
||||||
protected static final String HANDLER_NAME = "org.apache.commons.logging.jdk14.TestHandler";
|
protected static final String HANDLER_NAME = "org.apache.commons.logging.jdk14.TestHandler";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Make a class available in the system class loader even when its classfile is
|
* Make a class available in the system class loader even when its classfile is
|
||||||
@@ -83,7 +83,7 @@ public class CustomConfigTestCase extends DefaultConfigTestCase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Given the name of a class that is somewhere in the classpath of the provided
|
* Given the name of a class that is somewhere in the classpath of the provided
|
||||||
@@ -155,7 +155,7 @@ public class CustomConfigTestCase extends DefaultConfigTestCase {
|
|||||||
protected LogManager manager;
|
protected LogManager manager;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>The message levels that should have been logged.</p>
|
* <p>The message levels that should have been logged.</p>
|
||||||
@@ -234,7 +234,7 @@ public class CustomConfigTestCase extends DefaultConfigTestCase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Log the messages with exceptions
|
// Log the messages with exceptions
|
||||||
protected void logExceptionMessages() {
|
protected void logExceptionMessages() {
|
||||||
@@ -307,7 +307,7 @@ public class CustomConfigTestCase extends DefaultConfigTestCase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Set up LogManager instance
|
// Set up LogManager instance
|
||||||
protected void setUpManager(final String config) throws Exception {
|
protected void setUpManager(final String config) throws Exception {
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ public class TestAppender extends AppenderSkeleton {
|
|||||||
// The set of logged events for this appender
|
// The set of logged events for this appender
|
||||||
private final List events;
|
private final List events;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
@@ -46,7 +46,7 @@ public class TestAppender extends AppenderSkeleton {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void append(final LoggingEvent event) {
|
protected void append(final LoggingEvent event) {
|
||||||
final StandardTests.LogEvent lev = new StandardTests.LogEvent();
|
final StandardTests.LogEvent lev = new StandardTests.LogEvent();
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ import junit.framework.Test;
|
|||||||
public class StandardTestCase extends AbstractLogTest {
|
public class StandardTestCase extends AbstractLogTest {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the tests included in this test suite.
|
* Return the tests included in this test suite.
|
||||||
@@ -64,7 +64,7 @@ public class StandardTestCase extends AbstractLogTest {
|
|||||||
protected LogFactory factory;
|
protected LogFactory factory;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>The {@link Log} implementation we have selected.</p>
|
* <p>The {@link Log} implementation we have selected.</p>
|
||||||
@@ -99,7 +99,7 @@ public class StandardTestCase extends AbstractLogTest {
|
|||||||
return new LogKitLogger(this.getClass().getName());
|
return new LogKitLogger(this.getClass().getName());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up instance variables required by this test case.
|
* Sets up instance variables required by this test case.
|
||||||
*/
|
*/
|
||||||
@@ -144,7 +144,7 @@ public class StandardTestCase extends AbstractLogTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Test Serializability of standard instance
|
// Test Serializability of standard instance
|
||||||
public void testSerializable() throws Exception {
|
public void testSerializable() throws Exception {
|
||||||
checkStandard();
|
checkStandard();
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ public class NoOpLogTestCase extends AbstractLogTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Test Serializability of standard instance
|
// Test Serializability of standard instance
|
||||||
public void testSerializable() throws Exception {
|
public void testSerializable() throws Exception {
|
||||||
Log log = LogFactory.getLog(this.getClass().getName());
|
Log log = LogFactory.getLog(this.getClass().getName());
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ import junit.framework.Test;
|
|||||||
*/
|
*/
|
||||||
public class DateTimeCustomConfigTestCase extends CustomConfigTestCase {
|
public class DateTimeCustomConfigTestCase extends CustomConfigTestCase {
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the tests included in this test suite.
|
* Return the tests included in this test suite.
|
||||||
* <p>
|
* <p>
|
||||||
@@ -78,7 +78,7 @@ public class DateTimeCustomConfigTestCase extends CustomConfigTestCase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up system properties required by this unit test. Here, we
|
* Sets up system properties required by this unit test. Here, we
|
||||||
* set up the props defined in the parent class setProperties method,
|
* set up the props defined in the parent class setProperties method,
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ import org.apache.commons.logging.impl.SimpleLog;
|
|||||||
public class DecoratedSimpleLog extends SimpleLog {
|
public class DecoratedSimpleLog extends SimpleLog {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated serial version ID.
|
* Generated serial version ID.
|
||||||
@@ -44,7 +44,7 @@ public class DecoratedSimpleLog extends SimpleLog {
|
|||||||
protected ArrayList cache = new ArrayList();
|
protected ArrayList cache = new ArrayList();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public DecoratedSimpleLog(final String name) {
|
public DecoratedSimpleLog(final String name) {
|
||||||
super(name);
|
super(name);
|
||||||
}
|
}
|
||||||
@@ -72,14 +72,14 @@ public class DecoratedSimpleLog extends SimpleLog {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public String getLogName() {
|
public String getLogName() {
|
||||||
return logName;
|
return logName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public boolean getShowDateTime() {
|
public boolean getShowDateTime() {
|
||||||
return showDateTime;
|
return showDateTime;
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ public class TcclDisabledTestCase extends TestCase {
|
|||||||
public static final String MY_LOG_IMPL =
|
public static final String MY_LOG_IMPL =
|
||||||
MY_LOG_PKG + ".MyLog";
|
MY_LOG_PKG + ".MyLog";
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the tests included in this test suite.
|
* Return the tests included in this test suite.
|
||||||
*/
|
*/
|
||||||
@@ -103,7 +103,7 @@ public class TcclDisabledTestCase extends TestCase {
|
|||||||
LogFactory.releaseAll();
|
LogFactory.releaseAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Verify that MyLog is only loadable via the tccl.
|
* Verify that MyLog is only loadable via the tccl.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ public class TcclEnabledTestCase extends TestCase {
|
|||||||
public static final String MY_LOG_IMPL =
|
public static final String MY_LOG_IMPL =
|
||||||
MY_LOG_PKG + ".MyLog";
|
MY_LOG_PKG + ".MyLog";
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the tests included in this test suite.
|
* Return the tests included in this test suite.
|
||||||
*/
|
*/
|
||||||
@@ -103,7 +103,7 @@ public class TcclEnabledTestCase extends TestCase {
|
|||||||
LogFactory.releaseAll();
|
LogFactory.releaseAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Verify that MyLogFactoryImpl is only loadable via the tccl.
|
* Verify that MyLogFactoryImpl is only loadable via the tccl.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ public class TcclDisabledTestCase extends TestCase {
|
|||||||
public static final String MY_LOG_FACTORY_IMPL =
|
public static final String MY_LOG_FACTORY_IMPL =
|
||||||
MY_LOG_FACTORY_PKG + ".MyLogFactoryImpl";
|
MY_LOG_FACTORY_PKG + ".MyLogFactoryImpl";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the tests included in this test suite.
|
* Return the tests included in this test suite.
|
||||||
@@ -105,7 +105,7 @@ public class TcclDisabledTestCase extends TestCase {
|
|||||||
LogFactory.releaseAll();
|
LogFactory.releaseAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Verify that MyLogFactoryImpl is only loadable via the tccl.
|
* Verify that MyLogFactoryImpl is only loadable via the tccl.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ import junit.framework.TestCase;
|
|||||||
|
|
||||||
public class TcclEnabledTestCase extends TestCase {
|
public class TcclEnabledTestCase extends TestCase {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the tests included in this test suite.
|
* Return the tests included in this test suite.
|
||||||
@@ -99,7 +99,7 @@ public class TcclEnabledTestCase extends TestCase {
|
|||||||
LogFactory.releaseAll();
|
LogFactory.releaseAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Verify that MyLogFactoryImpl is only loadable via the tccl.
|
* Verify that MyLogFactoryImpl is only loadable via the tccl.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user