Introduced DemuxDecoder to root the hierarchy of all message decoders

This commit is contained in:
andrea
2013-09-11 16:19:31 +02:00
parent 103d772533
commit 24e34278aa
4 changed files with 199 additions and 157 deletions
@@ -16,14 +16,14 @@ import org.junit.Before;
import org.junit.Test;
public class MQTTDecoderTest {
public class ConnectDecoderTest {
ByteBuf m_buff;
MQTTDecoder m_msgdec;
ConnectDecoder m_msgdec;
@Before
public void setUp() {
m_msgdec = new MQTTDecoder();
m_msgdec = new ConnectDecoder();
}
@Test