aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-11-13 10:09:06 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-11-13 10:09:25 +1300
commita789d3992ec5c5918a122c284fe46e4f1e26b746 (patch)
treefd1fd60b42b87e9344e4244284dba3a7e98d63b7 /test/org/traccar/protocol
parent8abf4f011eef72e06dd24720e00ce27350b0b047 (diff)
downloadtrackermap-server-a789d3992ec5c5918a122c284fe46e4f1e26b746.tar.gz
trackermap-server-a789d3992ec5c5918a122c284fe46e4f1e26b746.tar.bz2
trackermap-server-a789d3992ec5c5918a122c284fe46e4f1e26b746.zip
Handle ST600 empty values
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r--test/org/traccar/protocol/SuntechProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/SuntechProtocolDecoderTest.java b/test/org/traccar/protocol/SuntechProtocolDecoderTest.java
index 7e4de91d6..daf011206 100644
--- a/test/org/traccar/protocol/SuntechProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/SuntechProtocolDecoderTest.java
@@ -20,6 +20,9 @@ public class SuntechProtocolDecoderTest extends ProtocolTest {
verifyPosition(decoder, text(
"ST300EVT;205173382;07;564;20160322;23:23:18;232e19;+19.288278;-099.128750;000.122;000.00;9;1;478391;11.53;000100;2;1;9498;079324;4.3;1;0.00;0.00;0.00;00000000000000;0;2898E16006000058:-20.8;2861626006000039:+2.5;:"));
+ verifyPosition(decoder, text(
+ "ST600STT;008349958;35;523;20181112;00:49:30;0bf10d4e;334;20;2f19;22;+20.552718;-100.824478;050.021;095.41;12;1;1303603;14.30;10000000;4;8911;001987;4.1;0;0.00;;;;00000000000000;0;2826C8A70800000C:+26.6;:;:"));
+
}
@Test