diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-01-19 23:29:00 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-01-19 23:29:15 +1300 |
commit | 6d40b05fc95a14e2b6b21158d809fbebcc735d33 (patch) | |
tree | ab1625c6b519a08123216ba77f3035635d658a10 /test/org/traccar | |
parent | 92f9691c9817526bd025377cb44aa336e7625592 (diff) | |
download | trackermap-server-6d40b05fc95a14e2b6b21158d809fbebcc735d33.tar.gz trackermap-server-6d40b05fc95a14e2b6b21158d809fbebcc735d33.tar.bz2 trackermap-server-6d40b05fc95a14e2b6b21158d809fbebcc735d33.zip |
Add Huabao test cases
Diffstat (limited to 'test/org/traccar')
-rw-r--r-- | test/org/traccar/protocol/HuabaoProtocolDecoderTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/HuabaoProtocolDecoderTest.java b/test/org/traccar/protocol/HuabaoProtocolDecoderTest.java index 5dedbbaa6..996fa874d 100644 --- a/test/org/traccar/protocol/HuabaoProtocolDecoderTest.java +++ b/test/org/traccar/protocol/HuabaoProtocolDecoderTest.java @@ -10,6 +10,12 @@ public class HuabaoProtocolDecoderTest extends ProtocolTest { HuabaoProtocolDecoder decoder = new HuabaoProtocolDecoder(new HuabaoProtocol()); + verifyPosition(decoder, binary( + "7e0200002c00160128561400020000000000040001005de1f7065c6cef00000000000017011710044201040000a9002a02000030011b3101030c7e")); + + verifyPosition(decoder, binary( + "7e0200002c00160128561400030000000000040007005de13c065c6cdb00160000000017011710054201040000a9002a02000030011b310104e47e")); + verifyNothing(decoder, binary( "7e0100002d0141305678720024002c012f373031313142534a2d41362d424400000000000000000000003035363738373201d4c14238383838386d7e")); |