aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-12-08 14:42:17 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2019-12-08 14:42:17 -0800
commit90416b230c97c470b0b942c643fce2bb5afbcb5d (patch)
treeef400e62815a27f6fbc59aae748acfb506c7e1c7 /src/test/java/org
parent9a5891a1d2fdca01a04b4f47db375347b504322b (diff)
downloadtrackermap-server-90416b230c97c470b0b942c643fce2bb5afbcb5d.tar.gz
trackermap-server-90416b230c97c470b0b942c643fce2bb5afbcb5d.tar.bz2
trackermap-server-90416b230c97c470b0b942c643fce2bb5afbcb5d.zip
Decode additional attributes
Diffstat (limited to 'src/test/java/org')
-rw-r--r--src/test/java/org/traccar/protocol/Tlt2hProtocolDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Tlt2hProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Tlt2hProtocolDecoderTest.java
index 185c3c368..216e65a5d 100644
--- a/src/test/java/org/traccar/protocol/Tlt2hProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Tlt2hProtocolDecoderTest.java
@@ -11,6 +11,10 @@ public class Tlt2hProtocolDecoderTest extends ProtocolTest {
Tlt2hProtocolDecoder decoder = new Tlt2hProtocolDecoder(null);
+ verifyPositions(decoder, text(
+ "#860425040088567#MT600+#0000#0#1#129#40#0#AUTOLOW#1\r\n",
+ "#000321901$GPRMC,172030.00,A,4845.2906,N,01910.2742,E,0.01,,041219,,,A*43\r\n"));
+
verifyAttribute(decoder, text(
"#869260042149724#MP90_4G#0000#AUTOLOW#1\r\n" +
"#02201be0000$GPRMC,001645.00,A,5333.2920,N,11334.3857,W,0.03,,250419,,,A*5E\r\n"),