aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-01-23 20:49:19 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2019-01-23 20:49:19 -0800
commit364ee0cdf23dd6d63714b8fb118ad87b850f99c3 (patch)
treef4f977746ec144ba5adee173161c4f19e48c7561 /test/org
parent9ca14dcccffc65b9c4c2683bc53e13b796fa1228 (diff)
downloadtrackermap-server-364ee0cdf23dd6d63714b8fb118ad87b850f99c3.tar.gz
trackermap-server-364ee0cdf23dd6d63714b8fb118ad87b850f99c3.tar.bz2
trackermap-server-364ee0cdf23dd6d63714b8fb118ad87b850f99c3.zip
Extend VTFMS protocol support
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/VtfmsProtocolDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/VtfmsProtocolDecoderTest.java b/test/org/traccar/protocol/VtfmsProtocolDecoderTest.java
index 2d3940528..ede5dc7ac 100644
--- a/test/org/traccar/protocol/VtfmsProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/VtfmsProtocolDecoderTest.java
@@ -11,6 +11,10 @@ public class VtfmsProtocolDecoderTest extends ProtocolTest {
VtfmsProtocolDecoder decoder = new VtfmsProtocolDecoder(null);
verifyPosition(decoder, text(
+ "(861359037432331,0EF87,00,0,21,2,01,,A,154559,230119,1101.4046,07656.3859,241,000,00078,00000,K,0000812,1,12.7,,,,,,1,0,0,0,1,1,1,+919566531111*+919994462226,)054"),
+ position("2019-01-23 15:45:59.000", true, 11.02341, 76.93977));
+
+ verifyPosition(decoder, text(
"(865733028143493,00I76,00,000,,,,,A,133755,210617,10.57354,077.24912,SW,000,00598,00000,K,0017368,1,12.7,,,0.000,,,0,0,0,0,1,1,0,,)074"));
verifyPosition(decoder, text(