aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-04-20 15:44:50 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-04-20 15:44:50 +1200
commit184f9bb3ffa4015836ca6c67552771a4a901c15e (patch)
tree75fee04a5d778862f2a21b37e6ce484c539b1cdb /test
parent773768093c6c78906e54abe128cb1b4ca9430313 (diff)
downloadtrackermap-server-184f9bb3ffa4015836ca6c67552771a4a901c15e.tar.gz
trackermap-server-184f9bb3ffa4015836ca6c67552771a4a901c15e.tar.bz2
trackermap-server-184f9bb3ffa4015836ca6c67552771a4a901c15e.zip
Decode additional P60 parameters
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/Pt60ProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Pt60ProtocolDecoderTest.java b/test/org/traccar/protocol/Pt60ProtocolDecoderTest.java
index 08fe7658e..69d77fe66 100644
--- a/test/org/traccar/protocol/Pt60ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Pt60ProtocolDecoderTest.java
@@ -10,6 +10,12 @@ public class Pt60ProtocolDecoderTest extends ProtocolTest {
Pt60ProtocolDecoder decoder = new Pt60ProtocolDecoder(new Pt60Protocol());
+ verifyAttributes(decoder, text(
+ "@G#@,V01,14,357653051059785,9404223001501310,20180419165604,101,26,"));
+
+ verifyAttributes(decoder, text(
+ "@G#@,V01,13,357653051059785,9404223001501310,20180419112656,1180,"));
+
verifyPosition(decoder, text(
"@G#@,V01,6,111112222233333,8888888888888888,20150312010203,23.2014050;104.235212,"));