diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-10-17 16:52:38 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-10-17 16:52:38 +1300 |
commit | ae32084f88df4436e1a2cdcb346ff1e7e286e369 (patch) | |
tree | 5ec96dcedf19aa0c435c0e4d38f2ba60f583f9f6 /test/org/traccar/protocol/ApelProtocolDecoderTest.java | |
parent | 6f707c42d2798c93009e289a46d2faf918b75eea (diff) | |
download | trackermap-server-ae32084f88df4436e1a2cdcb346ff1e7e286e369.tar.gz trackermap-server-ae32084f88df4436e1a2cdcb346ff1e7e286e369.tar.bz2 trackermap-server-ae32084f88df4436e1a2cdcb346ff1e7e286e369.zip |
Avoid protocol classes in tests
Diffstat (limited to 'test/org/traccar/protocol/ApelProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/ApelProtocolDecoderTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/ApelProtocolDecoderTest.java b/test/org/traccar/protocol/ApelProtocolDecoderTest.java index 1d0a7e344..c32abe6a8 100644 --- a/test/org/traccar/protocol/ApelProtocolDecoderTest.java +++ b/test/org/traccar/protocol/ApelProtocolDecoderTest.java @@ -8,7 +8,7 @@ public class ApelProtocolDecoderTest extends ProtocolTest { @Test public void testDecode() throws Exception { - ApelProtocolDecoder decoder = new ApelProtocolDecoder(new ApelProtocol()); + ApelProtocolDecoder decoder = new ApelProtocolDecoder(null); /*byte[] buf1 = {0x40,0x4E,0x54,0x43,0x01,0x00,0x00,0x00,0x7B,0x00,0x00,0x00,0x13,0x00,0x44,0x34,0x2A,0x3E,0x53,0x3A,0x38,0x36,0x31,0x37,0x38,0x35,0x30,0x30,0x35,0x32,0x30,0x35,0x30,0x37,0x39}; verifyNull(decoder, text( ChannelBuffers.wrappedBuffer(ByteOrder.LITTLE_ENDIAN, buf1)));*/ |