aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-10-08 15:20:49 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-10-08 15:20:49 +1300
commit54107d04c96ef5541d9910134bce946bbc7d777a (patch)
treeea42a68f2a2436a9ad42bf43cc66e6c483afe817 /test/org
parentf30f25164a3b9be08bad55f80481332b73d6e9e1 (diff)
downloadtrackermap-server-54107d04c96ef5541d9910134bce946bbc7d777a.tar.gz
trackermap-server-54107d04c96ef5541d9910134bce946bbc7d777a.tar.bz2
trackermap-server-54107d04c96ef5541d9910134bce946bbc7d777a.zip
Add some HuaSheng test cases
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/HuaShengProtocolDecoderTest.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/HuaShengProtocolDecoderTest.java b/test/org/traccar/protocol/HuaShengProtocolDecoderTest.java
index 7cb6b65a0..d1165b226 100644
--- a/test/org/traccar/protocol/HuaShengProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/HuaShengProtocolDecoderTest.java
@@ -14,6 +14,15 @@ public class HuaShengProtocolDecoderTest extends ProtocolTest {
"c000000077aa0200000000000e000100143347315f48312e315f56312e30372e54000300133335353835353035303434303635380004000b3531323030303000050005010006000400070004000800050000090018383936313032353431343533333239313833360d000a000f796573696e7465726e6574c0"));
verifyPosition(decoder, binary(
+ "c00000004baa000000000000098000000031363130303732323236343700e6d4efffcc789f000000000026000000010015000000000000000000000488ffffffffff0005000a10060000008dc0"));
+
+ /*verifyPosition(decoder, binary(
+ "c00000004baa0000000000000aa5a5a55a3f008000000031363130303732333139343600e61e4fffcc33fe0000000000470000000100150000000000000000000004b4ffffffffff0005000ac0"));*/
+
+ verifyPosition(decoder, binary(
+ "c00000004baa000000000000098000000031363130303732323236343700e6d4efffcc789f000000000026000000010015000000000000000000000488ffffffffff0005000a10060000008dc0"));
+
+ verifyPosition(decoder, binary(
"c00000004baa00000000000005c400000131363037303630323537303800e6c82effcc7cb0003900a30089000000010015000000000000000000f20559ff577ce3980005000a060500000087c0"));
verifyNothing(decoder, binary(