aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-01-23 00:11:11 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2019-01-23 00:11:11 -0800
commit9ca14dcccffc65b9c4c2683bc53e13b796fa1228 (patch)
treecb38e939a1e251106ec8bfda68f9c364a8f37680 /test
parentc8d39587a20ecc0d0b591fe09018e9d55694bf22 (diff)
downloadtrackermap-server-9ca14dcccffc65b9c4c2683bc53e13b796fa1228.tar.gz
trackermap-server-9ca14dcccffc65b9c4c2683bc53e13b796fa1228.tar.bz2
trackermap-server-9ca14dcccffc65b9c4c2683bc53e13b796fa1228.zip
Special GT06 LBS responses
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/Gt06ProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java b/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java
index 8b7034ca8..6cc2d3f86 100644
--- a/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java
@@ -16,6 +16,12 @@ public class Gt06ProtocolDecoderTest extends ProtocolTest {
verifyNull(decoder, binary(
"78780D01086471700328358100093F040D0A"));
+ verifyNotNull(decoder, binary(
+ "7878006919012105090303028f01007549e05a00bc9c5c5a007a8d1a5a0d0a"));
+
+ verifyNotNull(decoder, binary(
+ "7878001719011910543607028f0100bc2e695a00bcb3635a00bc27c56400bc447b6400bc46c96400bc33ce6400bc64ca640d0a"));
+
verifyAttributes(decoder, binary(
"797900de8c120b1502121b013137333d302c3232333d312c3238333d30303030303030302c3436333d30303030303035362c3437333d30303030303030662c3438333d30303030303031312c3242333d30303030303030302c3244333d30303030313839632c3335333d30303030313661382c3336333d30303032386163382c3339333d30303030303230612c3330333d30303030303561612c3439333d30303030303030302c3441333d4b4e4146323431434d4b353031343235352c3341333d30303030303338352c3530333d30303030c0041df0940f89c06700000000c800910d0a"));