aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-12-08 02:36:02 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-12-08 02:36:02 +1300
commit50503c7108e580e5bc00d6c67055de273f476911 (patch)
tree9893486ebf4eb19902f1910bb8f93ea48d6104c2
parent6cd8c6ccb5fc3549d3b34d397a7630cd7f2b865e (diff)
downloadtraccar-server-50503c7108e580e5bc00d6c67055de273f476911.tar.gz
traccar-server-50503c7108e580e5bc00d6c67055de273f476911.tar.bz2
traccar-server-50503c7108e580e5bc00d6c67055de273f476911.zip
Add Suntech unit test case
-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 e64041d29..78e1fb1de 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;560266;500;20161207;21:33:11;af910be101;-25.504234;-049.278003;000.080;000.00;1;10054889;70;1;1;1311;02;724;06;-317;3041;2;10;92"));
+
+ verifyPosition(decoder, text(
"ST300ALT;205174410;14;712;20110101;00:00:07;00000;+20.593923;-100.336716;000.000;000.00;0;0;0;16.57;000000;81;000000;4.0;0;0.00;0000;0000;0;0"));
verifyNothing(decoder, text(