aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-05-05 12:00:57 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-05-05 12:00:57 +1200
commit4577c6f1196d6438bc367828800926451daf525c (patch)
tree471b211febadf19f986a62d195a977b34cfd7db6 /test/org/traccar/protocol
parent4713a115fbe4a37ddf24e96edeab800843607f90 (diff)
downloadtraccar-server-4577c6f1196d6438bc367828800926451daf525c.tar.gz
traccar-server-4577c6f1196d6438bc367828800926451daf525c.tar.bz2
traccar-server-4577c6f1196d6438bc367828800926451daf525c.zip
Add SunTech ST-940 test case
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 bbcead2d0..b369ab41b 100644
--- a/test/org/traccar/protocol/SuntechProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/SuntechProtocolDecoderTest.java
@@ -116,6 +116,9 @@ public class SuntechProtocolDecoderTest extends ProtocolTest {
decoder.setProtocolType(1);
verifyPosition(decoder, text(
+ "ST910;Location;907510186;552;20180504;23:15:45;3af54e5331;+19.301833;-099.190657;000.246;000.00;1;28462;80;1;0;0423;02;334;05;-215;20051;1;4;100"));
+
+ verifyPosition(decoder, text(
"ST910;Alert;485195;20170409;22:37:41;3be0133057;+24.882410;-107.509152;000.070;000.00;1;286734;72;02;295;05;-415;4912;255;10;10"));
verifyPosition(decoder, text(