aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-03-17 23:02:19 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-03-17 23:02:19 +1300
commita32c9c12179efef2db2e04e86da446e23b6284a3 (patch)
tree081b18e1e0d9006a48869bcc12b902619dcb456e /test/org/traccar/protocol
parentc53feac38ec149fed84121704c620503bf1f7820 (diff)
downloadtrackermap-server-a32c9c12179efef2db2e04e86da446e23b6284a3.tar.gz
trackermap-server-a32c9c12179efef2db2e04e86da446e23b6284a3.tar.bz2
trackermap-server-a32c9c12179efef2db2e04e86da446e23b6284a3.zip
Add Suntech ST910 unit test
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 84a8ea1e7..316118882 100644
--- a/test/org/traccar/protocol/SuntechProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/SuntechProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class SuntechProtocolDecoderTest extends ProtocolTest {
SuntechProtocolDecoder decoder = new SuntechProtocolDecoder(new SuntechProtocol());
verifyPosition(decoder, text(
+ "ST910;Location;205576803;500;20170312;12:56:52;-22.846014;-046.322176;000.000;000.00;0;3.8;0;0;0019"));
+
+ verifyPosition(decoder, text(
"ST300STT;100850000;01;010;20081017;07:41:56;00100;+37.478519;+126.886819;000.012;000.00;9;1;0;15.30;001100;1;0072;0;4.5;1;1750;012497F1160000;1;004f001454;450;00;-320;20;255;1"));
verifyPosition(decoder, text(