fix import warnings

This commit is contained in:
Ceki Gulcu 2016-12-13 11:45:19 +01:00
parent 6f19cb8c3d
commit 80d972e3e5
4 changed files with 8 additions and 8 deletions

View File

@ -26,7 +26,7 @@ package org.slf4j.impl;
import org.junit.Test;
import static junit.framework.Assert.assertEquals;
import static org.junit.Assert.assertEquals;
public class AndroidLoggerFactoryTest {
@Test

View File

@ -35,8 +35,8 @@ import java.util.logging.Handler;
import java.util.logging.Level;
import java.util.logging.LogRecord;
import static junit.framework.Assert.assertNotNull;
import static junit.framework.Assert.assertNull;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;

View File

@ -32,7 +32,7 @@ import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import junit.framework.Assert;
import static org.junit.Assert.assertNotNull;
import org.junit.Test;
import org.slf4j.Logger;
@ -76,8 +76,8 @@ public class LoggerSerializationTest {
ObjectInputStream in = new ObjectInputStream(is);
LoggerHolder lh2 = (LoggerHolder) in.readObject();
Assert.assertNotNull(lh2);
Assert.assertNotNull(lh2.getLog());
assertNotNull(lh2);
assertNotNull(lh2.getLog());
lh2.getLog().info("You must see this message as a log message");
}

View File

@ -28,8 +28,8 @@ import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import static junit.framework.Assert.assertEquals;
import static junit.framework.Assert.assertNull;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
public class SimpleLoggerTest {