aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/VisiontekProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-01-28 23:37:10 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-01-28 23:37:10 +1300
commit672bad5be540ab114c6739567c130215724c6f05 (patch)
treea8a8211732c62931d75578bfc8eddb65dfc92de1 /test/org/traccar/protocol/VisiontekProtocolDecoderTest.java
parentcf058d4890b2b1adce9902417f6f56d17a540ff7 (diff)
downloadtrackermap-server-672bad5be540ab114c6739567c130215724c6f05.tar.gz
trackermap-server-672bad5be540ab114c6739567c130215724c6f05.tar.bz2
trackermap-server-672bad5be540ab114c6739567c130215724c6f05.zip
Add one more Visiontek unit test
Diffstat (limited to 'test/org/traccar/protocol/VisiontekProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/VisiontekProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/VisiontekProtocolDecoderTest.java b/test/org/traccar/protocol/VisiontekProtocolDecoderTest.java
index 613dd5311..f45ff714b 100644
--- a/test/org/traccar/protocol/VisiontekProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/VisiontekProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class VisiontekProtocolDecoderTest extends ProtocolTest {
VisiontekProtocolDecoder decoder = new VisiontekProtocolDecoder(new VisiontekProtocol());
verifyPosition(decoder, text(
+ "$1,117,28,01,16,15,05,48,1725.0518N,07824.5298E,0620,11,0,185,2062,0,0,0,1,1,1,1,24,00.0000,00.3740,00.0000,VAJRA V1.00,A"));
+
+ verifyPosition(decoder, text(
"$1,VMC,358072044271838,26,10,15,10,43,20,17.066418N,080.395667E,000.0,285,00.8,0074,6390,0,0,0,0,0,0,0,0,00.00,00.00,00,00,0000,12.7,4.0,24,10,0000000000000,A,0"));
verifyNothing(decoder, text(