aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-06-12 19:20:46 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-06-12 19:20:46 +1200
commit5ef8e9c97ca8adb42f8aedc99550de98e76bf6cf (patch)
treedf8dc405c00d26a2bd0ead55951138ff12679e8f /test/org/traccar
parent19d7c0dd692145fa11dee3fa07099c80052e1be4 (diff)
downloadtrackermap-server-5ef8e9c97ca8adb42f8aedc99550de98e76bf6cf.tar.gz
trackermap-server-5ef8e9c97ca8adb42f8aedc99550de98e76bf6cf.tar.bz2
trackermap-server-5ef8e9c97ca8adb42f8aedc99550de98e76bf6cf.zip
Add Suntech unit test case
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/SuntechProtocolDecoderTest.java5
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"));