aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-03-20 01:46:20 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-03-20 01:46:20 +1300
commit8d0b583738be703a498843eb648743be484aadba (patch)
tree8d18f540b4d82d170af0a51d4c524eeee16379b9 /test/org/traccar/protocol
parent04ddfc29d8a3e3df653eb9f1f76e453602995fc9 (diff)
downloadtrackermap-server-8d0b583738be703a498843eb648743be484aadba.tar.gz
trackermap-server-8d0b583738be703a498843eb648743be484aadba.tar.bz2
trackermap-server-8d0b583738be703a498843eb648743be484aadba.zip
Add Suntech test cases
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 316118882..9ff5297a3 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(
+ "ST910;Location;205576803;500;20170319;12:18:17;-22.846014;-046.322176;000.000;000.00;0;3.8;0;1;9159"));
+
+ verifyPosition(decoder, text(
+ "ST910;Emergency;205576803;500;20170319;12:15:22;-22.846014;-046.322176;000.000;000.00;0;2"));
+
+ 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(