aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-08-02 01:37:27 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-08-02 01:37:27 +1200
commit2183e5f08d18879ea76ed0fad92877de69bfd496 (patch)
treeff47f8b07a3b162fef323720de92730e40471779
parent42cc50d51a5eda8f8de787a3230b8591b62d62b8 (diff)
downloadtraccar-server-2183e5f08d18879ea76ed0fad92877de69bfd496.tar.gz
traccar-server-2183e5f08d18879ea76ed0fad92877de69bfd496.tar.bz2
traccar-server-2183e5f08d18879ea76ed0fad92877de69bfd496.zip
Add GT06 test case
-rw-r--r--test/org/traccar/protocol/Gt06ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java b/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java
index 7115ef514..8ec422af3 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"));
+ verifyAttributes(decoder, binary(
+ "79790008940000ed0289d6860d0a"));
+
verifyNull(decoder, binary(
"797900a59404414c4d313d34353b414c4d323d44353b414c4d333d35353b535441313d34303b4459443d30313b534f533d303538353036313536372c2c3b43454e5445523d3b46454e43453d46656e63652c4f46462c302c302e3030303030302c302e3030303030302c3330302c494e206f72204f55542c303b49434349443d38393937313033313031303038393539303432463b4d4f44453d4d4f44452c312c3138303b0008f65e0d0a"));