diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-06-30 22:34:12 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-06-30 22:34:12 -0700 |
commit | 513e94358c48a070eea947e6123c3affc59b4e5e (patch) | |
tree | b105718f3482340ce7eb58c2a6efd59e071452d5 /src/test | |
parent | 8edc2c5877b24c2fafdbc6e4bd0350cccb9122a4 (diff) | |
download | trackermap-server-513e94358c48a070eea947e6123c3affc59b4e5e.tar.gz trackermap-server-513e94358c48a070eea947e6123c3affc59b4e5e.tar.bz2 trackermap-server-513e94358c48a070eea947e6123c3affc59b4e5e.zip |
Improve Topin decoder
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/java/org/traccar/protocol/TopinProtocolDecoderTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/TopinProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/TopinProtocolDecoderTest.java index e212a0f15..0e04c0a19 100644 --- a/src/test/java/org/traccar/protocol/TopinProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/TopinProtocolDecoderTest.java @@ -13,6 +13,12 @@ public class TopinProtocolDecoderTest extends ProtocolTest { verifyNull(decoder, binary( "78780d0103593390754169634d0d0a")); + verifyPosition(decoder, binary( + "787812100A03170F32179C026B3F3E0C22AD651F34600D0A")); + + verifyAttributes(decoder, binary( + "78780a132827010063000000000d0a")); + verifyNotNull(decoder, binary( "7878001719111120141807019456465111aa3c465111ab464651c1a550465106b150465342f750465342f65a465111a95a000d0a")); |