diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-01-30 22:37:36 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-01-30 22:37:36 -0800 |
commit | c00fd59ecf8739e47a4f2460bbb4802f4cead1a1 (patch) | |
tree | 037d6442e608fc896af0e0f9bd0c031d1ab81c2b /src/test | |
parent | 3bf277a340c57c485af7f3c0ab46b27e070b0998 (diff) | |
download | trackermap-server-c00fd59ecf8739e47a4f2460bbb4802f4cead1a1.tar.gz trackermap-server-c00fd59ecf8739e47a4f2460bbb4802f4cead1a1.tar.bz2 trackermap-server-c00fd59ecf8739e47a4f2460bbb4802f4cead1a1.zip |
Decode cell towers info
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/java/org/traccar/protocol/HuaShengProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/HuaShengProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/HuaShengProtocolDecoderTest.java index 6033bc744..b624f69ab 100644 --- a/src/test/java/org/traccar/protocol/HuaShengProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/HuaShengProtocolDecoderTest.java @@ -16,6 +16,9 @@ public class HuaShengProtocolDecoderTest extends ProtocolTest { verifyNull(decoder, binary( "c000000077aa0200000000000e000100143347315f48312e315f56312e30372e54000300133335353835353035303434303635380004000b3531323030303000050005010006000400070004000800050000090018383936313032353431343533333239313833360d000a000f796573696e7465726e6574c0")); + verifyNotNull(decoder, binary( + "c000000077aa00000000000070020000003230303132373035313635330000000000000000000000000000000000010015ffffffff000000000000019dffffffffff0005000a1f00000e455a00200019313238354031406666666540386233663930634030000f0013333536373236313038313335343530c0")); + verifyPosition(decoder, binary( "c000000060aa000000000000fa8000000031393037303431363434323700e9900affd61c1b00000000003a000000010015ffffff0000000000000004c2ffffffffff0005000a0d080000ca6a000900155741555a5a5a344730454e313133373233c0")); |