From 4577c6f1196d6438bc367828800926451daf525c Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 5 May 2018 12:00:57 +1200 Subject: Add SunTech ST-940 test case --- test/org/traccar/protocol/SuntechProtocolDecoderTest.java | 3 +++ 1 file changed, 3 insertions(+) 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 @@ -115,6 +115,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")); -- cgit v1.2.3