diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-07-09 10:47:10 +0300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-07-09 10:47:10 +0300 |
commit | 5603d7bc03d9378fd647992c4b05941c83c080ab (patch) | |
tree | 3cacf29cc4f42676198b45edd324dfde9f73e3cb /test | |
parent | 86ac75eb6e10d9161a9d29dab47f3da8356549d0 (diff) | |
download | traccar-server-5603d7bc03d9378fd647992c4b05941c83c080ab.tar.gz traccar-server-5603d7bc03d9378fd647992c4b05941c83c080ab.tar.bz2 traccar-server-5603d7bc03d9378fd647992c4b05941c83c080ab.zip |
Add GT06 test case
Diffstat (limited to 'test')
-rw-r--r-- | test/org/traccar/protocol/Gt06ProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java b/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java index 93e807759..7115ef514 100644 --- a/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java @@ -16,6 +16,9 @@ public class Gt06ProtocolDecoderTest extends ProtocolTest { verifyNull(decoder, binary( "78780D01086471700328358100093F040D0A")); + verifyNull(decoder, binary( + "797900a59404414c4d313d34353b414c4d323d44353b414c4d333d35353b535441313d34303b4459443d30313b534f533d303538353036313536372c2c3b43454e5445523d3b46454e43453d46656e63652c4f46462c302c302e3030303030302c302e3030303030302c3330302c494e206f72204f55542c303b49434349443d38393937313033313031303038393539303432463b4d4f44453d4d4f44452c312c3138303b0008f65e0d0a")); + verifyPosition(decoder, binary( "78782222120616083817c5050cc8c801a819d600152400e8011dbf003332000000004862500d0a")); |