aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-05-29 07:30:35 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-05-29 07:30:35 +1200
commit8e85055a38ed46d6f4d29f5e96adc8af4252bc7b (patch)
tree4061f6fcecc92ebcca77cd0cd92fef6e60d4a8f1 /test/org/traccar/protocol
parentf2bcffcd0114b053e461257924eb687970766b5f (diff)
downloadtrackermap-server-8e85055a38ed46d6f4d29f5e96adc8af4252bc7b.tar.gz
trackermap-server-8e85055a38ed46d6f4d29f5e96adc8af4252bc7b.tar.bz2
trackermap-server-8e85055a38ed46d6f4d29f5e96adc8af4252bc7b.zip
Implement GT06 string format
Diffstat (limited to 'test/org/traccar/protocol')
-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 7893b459a..ad1ec6d47 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"));
+ verifyPosition(decoder, binary(
+ "7979007121000000000143757272656e7420706f736974696f6e214c61743a4e35342e3733393333322c4c6f6e3a4532352e3237333237302c436f757273653a3132362e35332c53706565643a302e303030302c4461746554696d653a323031372d30352d3236202031303a32373a3437000bbee30d0a"));
+
verifyAttributes(decoder, binary(
"7979003F940D110315102A202141494F494C2C30322C3030382E3239302C3032392E3630302C3531394A2C303430302C3030382E3433302C302C30302C4142001678EA0D0A"));