diff --git a/src/test/java/org/jboss/netty/handler/codec/socks/SocksAuthRequestDecoderTest.java b/src/test/java/org/jboss/netty/handler/codec/socks/SocksAuthRequestDecoderTest.java index 1ccbf86688..3cf53a4608 100644 --- a/src/test/java/org/jboss/netty/handler/codec/socks/SocksAuthRequestDecoderTest.java +++ b/src/test/java/org/jboss/netty/handler/codec/socks/SocksAuthRequestDecoderTest.java @@ -17,13 +17,10 @@ package org.jboss.netty.handler.codec.socks; import org.jboss.netty.handler.codec.embedder.DecoderEmbedder; import org.junit.Test; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; import static org.junit.Assert.*; public class SocksAuthRequestDecoderTest { - private static final Logger logger = LoggerFactory.getLogger(SocksAuthRequestDecoderTest.class); @Test public void testAuthRequestDecoder() throws Exception{ String username = "test"; diff --git a/src/test/java/org/jboss/netty/handler/codec/socks/SocksAuthResponseDecoderTest.java b/src/test/java/org/jboss/netty/handler/codec/socks/SocksAuthResponseDecoderTest.java index 45cf4542df..cdd15bf740 100644 --- a/src/test/java/org/jboss/netty/handler/codec/socks/SocksAuthResponseDecoderTest.java +++ b/src/test/java/org/jboss/netty/handler/codec/socks/SocksAuthResponseDecoderTest.java @@ -16,14 +16,15 @@ package org.jboss.netty.handler.codec.socks; import org.jboss.netty.handler.codec.embedder.DecoderEmbedder; +import org.jboss.netty.logging.InternalLogger; +import org.jboss.netty.logging.InternalLoggerFactory; import org.junit.Test; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; import static org.junit.Assert.*; public class SocksAuthResponseDecoderTest { - private static final Logger logger = LoggerFactory.getLogger(SocksAuthResponseDecoderTest.class); + private static final InternalLogger logger = InternalLoggerFactory.getInstance(SocksAuthResponseDecoderTest.class); + private static void testSocksAuthResponseDecoderWithDifferentParams(SocksMessage.AuthStatus authStatus) throws Exception{ logger.debug("Testing SocksAuthResponseDecoder with authStatus: "+ authStatus); diff --git a/src/test/java/org/jboss/netty/handler/codec/socks/SocksCmdRequestDecoderTest.java b/src/test/java/org/jboss/netty/handler/codec/socks/SocksCmdRequestDecoderTest.java index 96e1a4c2fc..11b576a420 100644 --- a/src/test/java/org/jboss/netty/handler/codec/socks/SocksCmdRequestDecoderTest.java +++ b/src/test/java/org/jboss/netty/handler/codec/socks/SocksCmdRequestDecoderTest.java @@ -16,15 +16,15 @@ package org.jboss.netty.handler.codec.socks; import org.jboss.netty.handler.codec.embedder.DecoderEmbedder; +import org.jboss.netty.logging.InternalLogger; +import org.jboss.netty.logging.InternalLoggerFactory; import org.junit.Test; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; import sun.net.util.IPAddressUtil; import static org.junit.Assert.*; public class SocksCmdRequestDecoderTest { - private static final Logger logger = LoggerFactory.getLogger(SocksCmdRequestDecoderTest.class); + private static final InternalLogger logger = InternalLoggerFactory.getInstance(SocksCmdRequestDecoderTest.class); private static void testSocksCmdRequestDecoderWithDifferentParams(SocksMessage.CmdType cmdType, SocksMessage.AddressType addressType, String host, int port) throws Exception { diff --git a/src/test/java/org/jboss/netty/handler/codec/socks/SocksCmdResponseDecoderTest.java b/src/test/java/org/jboss/netty/handler/codec/socks/SocksCmdResponseDecoderTest.java index 81f5f319b7..ca23a2e5c7 100644 --- a/src/test/java/org/jboss/netty/handler/codec/socks/SocksCmdResponseDecoderTest.java +++ b/src/test/java/org/jboss/netty/handler/codec/socks/SocksCmdResponseDecoderTest.java @@ -16,13 +16,14 @@ package org.jboss.netty.handler.codec.socks; import org.jboss.netty.handler.codec.embedder.DecoderEmbedder; +import org.jboss.netty.logging.InternalLogger; +import org.jboss.netty.logging.InternalLoggerFactory; import org.junit.Test; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; + import static org.junit.Assert.*; public class SocksCmdResponseDecoderTest { - private static final Logger logger = LoggerFactory.getLogger(SocksCmdResponseDecoderTest.class); + private static final InternalLogger logger = InternalLoggerFactory.getInstance(SocksCmdResponseDecoderTest.class); private static void testSocksCmdResponseDecoderWithDifferentParams(SocksMessage.CmdStatus cmdStatus, SocksMessage.AddressType addressType) throws Exception {