aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/VisiontekProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-27 12:39:55 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-27 12:39:55 +1300
commit0abae87d85964f7b0afd3e2d128be7a211ae4715 (patch)
treee16302fca042ae062dc917d1e23b1b584a1b8e86 /test/org/traccar/protocol/VisiontekProtocolDecoderTest.java
parent52f6ed7567fc11babf831401ac9744f9ebd7c735 (diff)
downloadtrackermap-server-0abae87d85964f7b0afd3e2d128be7a211ae4715.tar.gz
trackermap-server-0abae87d85964f7b0afd3e2d128be7a211ae4715.tar.bz2
trackermap-server-0abae87d85964f7b0afd3e2d128be7a211ae4715.zip
Extend Visiontek protocol decoder (fix #1475)
Diffstat (limited to 'test/org/traccar/protocol/VisiontekProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/VisiontekProtocolDecoderTest.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/org/traccar/protocol/VisiontekProtocolDecoderTest.java b/test/org/traccar/protocol/VisiontekProtocolDecoderTest.java
index 3a31d3c28..8b817f618 100644
--- a/test/org/traccar/protocol/VisiontekProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/VisiontekProtocolDecoderTest.java
@@ -10,14 +10,14 @@ public class VisiontekProtocolDecoderTest extends ProtocolDecoderTest {
VisiontekProtocolDecoder decoder = new VisiontekProtocolDecoder(new VisiontekProtocol());
- /*verifyPosition(decoder, text(
+ 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"));
- verifyPosition(decoder, text(
- "$1,VMC,358072044271838,25,10,15,09,19,40,00.0000000,000.0000000,000.0,000,00.0,0000,6070,0,0,0,0,0,0,0,0,00.00,00.00,00,00,0000,12.5,4.0,99,00,0000000000000,V,0"));*/
+ verifyNothing(decoder, text(
+ "$1,VMC,358072044271838,25,10,15,09,19,40,00.0000000,000.0000000,000.0,000,00.0,0000,6070,0,0,0,0,0,0,0,0,00.00,00.00,00,00,0000,12.5,4.0,99,00,0000000000000,V,0"));
- //verifyPosition(decoder, text(
- // "$1,AP116,05,06,15,11,48,32,1725.0460N,07824.5289E,0617,07,0,030,2091,0,0,0,1,1,1,1,20,00.0000,00.3820,00.0000,VAJRA V1.00,A#"));
+ verifyPosition(decoder, text(
+ "$1,AP116,05,06,15,11,48,32,1725.0460N,07824.5289E,0617,07,0,030,2091,0,0,0,1,1,1,1,20,00.0000,00.3820,00.0000,VAJRA V1.00,A"));
verifyPosition(decoder, text(
"$1,AP09BU9397,861785006462448,20,06,14,15,03,28,17267339N,078279407E,060.0,073,0550,11,0,1,0,0,1,1,26,A,0000000000"),