diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-07-04 16:43:16 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-07-04 16:43:16 +1200 |
commit | e0fc105c960a5b666e796c047b1efc00222b890b (patch) | |
tree | 525b8c381fd6e59c952f11e454f034ac36fcca33 /test/org/traccar/protocol | |
parent | 9a57e0aaedb24afd3123177e9be931b2ea6ee20f (diff) | |
download | trackermap-server-e0fc105c960a5b666e796c047b1efc00222b890b.tar.gz trackermap-server-e0fc105c960a5b666e796c047b1efc00222b890b.tar.bz2 trackermap-server-e0fc105c960a5b666e796c047b1efc00222b890b.zip |
Add HuaSheng unit tests
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r-- | test/org/traccar/protocol/HuaShengProtocolDecoderTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/HuaShengProtocolDecoderTest.java b/test/org/traccar/protocol/HuaShengProtocolDecoderTest.java index d44217077..09fa353b5 100644 --- a/test/org/traccar/protocol/HuaShengProtocolDecoderTest.java +++ b/test/org/traccar/protocol/HuaShengProtocolDecoderTest.java @@ -11,6 +11,12 @@ public class HuaShengProtocolDecoderTest extends ProtocolTest { HuaShengProtocolDecoder decoder = new HuaShengProtocolDecoder(new HuaShengProtocol()); verifyNothing(decoder, binary( + "c0010c003e0002000000000010020012a0014f42445f3347315f56312e302e330013a0043335353835353035303434303635380006a08701000006a0a1035fc0")); + + verifyNothing(decoder, binary( + "c0010c00120060000000000004000600010100c0")); + + verifyNothing(decoder, binary( "C00000007EAA020000000000010001001047315F48312E305F56312E3000030013383632393530303238353334333036000400144C342D56374C673979497A7A2D724A6D0005000501000600084341524400070008434152440008000500000900183839383630303530313931343436313130393134000A0009434D4E4554C0")); verifyPosition(decoder, binary( |