diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-03-20 01:46:20 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-03-20 01:46:20 +1300 |
commit | 8d0b583738be703a498843eb648743be484aadba (patch) | |
tree | 8d18f540b4d82d170af0a51d4c524eeee16379b9 | |
parent | 04ddfc29d8a3e3df653eb9f1f76e453602995fc9 (diff) | |
download | traccar-server-8d0b583738be703a498843eb648743be484aadba.tar.gz traccar-server-8d0b583738be703a498843eb648743be484aadba.tar.bz2 traccar-server-8d0b583738be703a498843eb648743be484aadba.zip |
Add Suntech test cases
-rw-r--r-- | test/org/traccar/protocol/SuntechProtocolDecoderTest.java | 6 |
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( |