diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-06-12 19:20:46 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-06-12 19:20:46 +1200 |
commit | 5ef8e9c97ca8adb42f8aedc99550de98e76bf6cf (patch) | |
tree | df8dc405c00d26a2bd0ead55951138ff12679e8f /test/org | |
parent | 19d7c0dd692145fa11dee3fa07099c80052e1be4 (diff) | |
download | trackermap-server-5ef8e9c97ca8adb42f8aedc99550de98e76bf6cf.tar.gz trackermap-server-5ef8e9c97ca8adb42f8aedc99550de98e76bf6cf.tar.bz2 trackermap-server-5ef8e9c97ca8adb42f8aedc99550de98e76bf6cf.zip |
Add Suntech unit test case
Diffstat (limited to 'test/org')
-rw-r--r-- | test/org/traccar/protocol/SuntechProtocolDecoderTest.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/SuntechProtocolDecoderTest.java b/test/org/traccar/protocol/SuntechProtocolDecoderTest.java index 41d09bad8..e64041d29 100644 --- a/test/org/traccar/protocol/SuntechProtocolDecoderTest.java +++ b/test/org/traccar/protocol/SuntechProtocolDecoderTest.java @@ -9,7 +9,10 @@ public class SuntechProtocolDecoderTest extends ProtocolTest { public void testDecode() throws Exception { SuntechProtocolDecoder decoder = new SuntechProtocolDecoder(new SuntechProtocol()); - + + 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( "SA200ALV;317652")); |