aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-03-05 09:46:51 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-03-05 09:46:51 +1300
commit3c0d6bc88adc702fac35ef4f5c3a42e1b435f603 (patch)
tree10644bd6d0b2adccc980ff69e7ea12b5972c5962 /test
parent4aaf5526f676b810b919737f081796614f93faf9 (diff)
downloadtraccar-server-3c0d6bc88adc702fac35ef4f5c3a42e1b435f603.tar.gz
traccar-server-3c0d6bc88adc702fac35ef4f5c3a42e1b435f603.tar.bz2
traccar-server-3c0d6bc88adc702fac35ef4f5c3a42e1b435f603.zip
Improve Atrack decoder
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/AtrackProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/AtrackProtocolDecoderTest.java b/test/org/traccar/protocol/AtrackProtocolDecoderTest.java
index c06845df7..043c843c0 100644
--- a/test/org/traccar/protocol/AtrackProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/AtrackProtocolDecoderTest.java
@@ -23,6 +23,9 @@ public class AtrackProtocolDecoderTest {
verify(decoder.decode(null, null, null, ChannelBuffers.wrappedBuffer(ChannelBufferTools.convertHexString(
"40501e58003301e000014104d8f19682525ecd5d525ee344525ee35effc88815026ab4d70000020000104403de01000b0000000007d007d000"))));
+ verify(decoder.decode(null, null, null, ChannelBuffers.wrappedBuffer(ChannelBufferTools.convertHexString(
+ "40501e58003301e000014104d8f19682525ecd5d525ee344525ee35effc88815026ab4d70000020000104403de01000b0000000007d007d000000000000000"))));
+
// 7-byte date
//verify(decoder.decode(null, null, null, ChannelBuffers.wrappedBuffer(ChannelBufferTools.convertHexString(
// "0203b494003c00eb00014104d8dd3a3e07de011b0b1f0307de011b0b1f0307de011b0b1f0300307f28030574d30000020000000600160100020000000007d007d000"))));