aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-02-10 05:48:42 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-02-10 05:48:42 +1300
commita6b0e0fc80a763b93c8cccf0b40701b4368dd6b9 (patch)
treeb11e4865b0283f34bb94f4738e74b66f3201a85e
parentbf02ae6cdfc1912e1fe7b87e0790ae89028717f4 (diff)
downloadtraccar-server-a6b0e0fc80a763b93c8cccf0b40701b4368dd6b9.tar.gz
traccar-server-a6b0e0fc80a763b93c8cccf0b40701b4368dd6b9.tar.bz2
traccar-server-a6b0e0fc80a763b93c8cccf0b40701b4368dd6b9.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 ba2848348..0adc0f2b7 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(
+ "SA200STT;638947;803;20170117;07:40:44;5d309;-01.287213;-047.917462;000.035;000.00;10;1;2036194;12.57;000000;1;0376;010360;4.2;1"));
+
+ 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(