mirror of https://github.com/qos-ch/slf4j
fix import warnings
This commit is contained in:
parent
6f19cb8c3d
commit
80d972e3e5
|
|
@ -26,7 +26,7 @@ package org.slf4j.impl;
|
||||||
|
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
import static junit.framework.Assert.assertEquals;
|
import static org.junit.Assert.assertEquals;
|
||||||
|
|
||||||
public class AndroidLoggerFactoryTest {
|
public class AndroidLoggerFactoryTest {
|
||||||
@Test
|
@Test
|
||||||
|
|
|
||||||
|
|
@ -35,8 +35,8 @@ import java.util.logging.Handler;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
import java.util.logging.LogRecord;
|
import java.util.logging.LogRecord;
|
||||||
|
|
||||||
import static junit.framework.Assert.assertNotNull;
|
import static org.junit.Assert.assertNotNull;
|
||||||
import static junit.framework.Assert.assertNull;
|
import static org.junit.Assert.assertNull;
|
||||||
import static org.junit.Assert.assertEquals;
|
import static org.junit.Assert.assertEquals;
|
||||||
import static org.junit.Assert.fail;
|
import static org.junit.Assert.fail;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ import java.io.ObjectInputStream;
|
||||||
import java.io.ObjectOutputStream;
|
import java.io.ObjectOutputStream;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
import junit.framework.Assert;
|
import static org.junit.Assert.assertNotNull;
|
||||||
|
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
|
|
@ -76,8 +76,8 @@ public class LoggerSerializationTest {
|
||||||
ObjectInputStream in = new ObjectInputStream(is);
|
ObjectInputStream in = new ObjectInputStream(is);
|
||||||
LoggerHolder lh2 = (LoggerHolder) in.readObject();
|
LoggerHolder lh2 = (LoggerHolder) in.readObject();
|
||||||
|
|
||||||
Assert.assertNotNull(lh2);
|
assertNotNull(lh2);
|
||||||
Assert.assertNotNull(lh2.getLog());
|
assertNotNull(lh2.getLog());
|
||||||
lh2.getLog().info("You must see this message as a log message");
|
lh2.getLog().info("You must see this message as a log message");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -28,8 +28,8 @@ import org.junit.After;
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
import static junit.framework.Assert.assertEquals;
|
import static org.junit.Assert.assertEquals;
|
||||||
import static junit.framework.Assert.assertNull;
|
import static org.junit.Assert.assertNull;
|
||||||
|
|
||||||
public class SimpleLoggerTest {
|
public class SimpleLoggerTest {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue