aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-03-17 22:50:49 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-03-17 22:50:49 +1300
commit8b46b34fb3e2c2635208f0cb427d45182c3fecc4 (patch)
tree4ab526f541cec42d1e1a634d303620143fa7902e /test/org/traccar/protocol
parentb2a61d29b0c4304613d5618e9953ec3721aee842 (diff)
downloadtrackermap-server-8b46b34fb3e2c2635208f0cb427d45182c3fecc4.tar.gz
trackermap-server-8b46b34fb3e2c2635208f0cb427d45182c3fecc4.tar.bz2
trackermap-server-8b46b34fb3e2c2635208f0cb427d45182c3fecc4.zip
Add Suntech ST300 unit tests
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r--test/org/traccar/protocol/SuntechProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/SuntechProtocolDecoderTest.java b/test/org/traccar/protocol/SuntechProtocolDecoderTest.java
index 0adc0f2b7..67791cb2f 100644
--- a/test/org/traccar/protocol/SuntechProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/SuntechProtocolDecoderTest.java
@@ -11,6 +11,12 @@ public class SuntechProtocolDecoderTest extends ProtocolTest {
SuntechProtocolDecoder decoder = new SuntechProtocolDecoder(new SuntechProtocol());
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(
+ "ST300STT;205589913;05;527;20170304;02:21:33;be139;-25.398868;-049.325636;000.476;000.00;6;1;427;12.57;100000010;1;0172;017.159;0;002.327;12;4.0"));*/
+
+ verifyPosition(decoder, text(
"SA200STT;638947;803;20170117;07:40:44;5d309;-01.287213;-047.917462;000.035;000.00;10;1;2036194;12.57;000000;1;0376;010360;4.2;1"));
verifyPosition(decoder, text(