diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-09-03 09:41:11 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-09-03 09:41:11 +1200 |
commit | b092dac5607ab8219a4f1d4b8cf8ee89948cc1d3 (patch) | |
tree | 39d31a16a6e5db8a7778e5d771865f6bc372a04f /test | |
parent | 69200d5d68bbd4ed5b5c6b10d4231f365b10db80 (diff) | |
download | trackermap-server-b092dac5607ab8219a4f1d4b8cf8ee89948cc1d3.tar.gz trackermap-server-b092dac5607ab8219a4f1d4b8cf8ee89948cc1d3.tar.bz2 trackermap-server-b092dac5607ab8219a4f1d4b8cf8ee89948cc1d3.zip |
Add Teltonika unit test
Diffstat (limited to 'test')
-rw-r--r-- | test/org/traccar/protocol/TeltonikaProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/TeltonikaProtocolDecoderTest.java b/test/org/traccar/protocol/TeltonikaProtocolDecoderTest.java index 5c86de509..a2fe4f461 100644 --- a/test/org/traccar/protocol/TeltonikaProtocolDecoderTest.java +++ b/test/org/traccar/protocol/TeltonikaProtocolDecoderTest.java @@ -16,6 +16,9 @@ public class TeltonikaProtocolDecoderTest extends ProtocolDecoderTest { assertNull(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ChannelBufferTools.convertHexString( "000F313233343536373839303132333435")))); + + verify(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ChannelBufferTools.convertHexString( + "000000000000003508010000014f8e016420002141bbaf0f4e96a7fffa0000120000000602010047030242669c92000002c7000000009100000000000100002df3")))); verify(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ChannelBufferTools.convertHexString( "00000000000000A7080400000113fc208dff000f14f650209cca80006f00d60400040004030101150316030001460000015d0000000113fc17610b000f14ffe0209cc580006e00c00500010004030101150316010001460000015e0000000113fc284945000f150f00209cd200009501080400000004030101150016030001460000015d0000000113fc267c5b000f150a50209cccc0009300680400000004030101150016030001460000015b00040000")))); |