aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-12-15 02:15:52 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-12-15 02:15:52 +1300
commitc2e96b39909581e949279464c7a94aeecbcf4e21 (patch)
tree5f01b93d312a396072d878e586115fe01b49b509 /test/org/traccar
parent1771c22baca9c43556e5cfc4ec705d0a071a78e8 (diff)
downloadtrackermap-server-c2e96b39909581e949279464c7a94aeecbcf4e21.tar.gz
trackermap-server-c2e96b39909581e949279464c7a94aeecbcf4e21.tar.bz2
trackermap-server-c2e96b39909581e949279464c7a94aeecbcf4e21.zip
Add Huabao test case
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/HuabaoProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/HuabaoProtocolDecoderTest.java b/test/org/traccar/protocol/HuabaoProtocolDecoderTest.java
index ba4c726ec..9ce1c6caa 100644
--- a/test/org/traccar/protocol/HuabaoProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/HuabaoProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class HuabaoProtocolDecoderTest extends ProtocolTest {
HuabaoProtocolDecoder decoder = new HuabaoProtocolDecoder(new HuabaoProtocol());
verifyPosition(decoder, binary(
+ "7e02000054093037612710000700000000000000010223aca000dc9dd800000000000017121417122133362a4d30302c34352c31313336393042383030313233303026303030303030303030303030263132333435363738393031323334353623897e"));
+
+ verifyPosition(decoder, binary(
"7e0200002c00160128561400020000000000040001005de1f7065c6cef00000000000017011710044201040000a9002a02000030011b3101030c7e"));
verifyPosition(decoder, binary(