aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2014-08-30 23:31:45 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2014-08-30 23:31:45 +1200
commit5601a825b55eedd78e2a95263db7731ff67ed861 (patch)
tree575b1ec843ec9b2f66a301aa2b9e4cfbea280cba /test/org
parent419b1f981fe8b108e053258719da2cc33de76dfa (diff)
downloadtrackermap-server-5601a825b55eedd78e2a95263db7731ff67ed861.tar.gz
trackermap-server-5601a825b55eedd78e2a95263db7731ff67ed861.tar.bz2
trackermap-server-5601a825b55eedd78e2a95263db7731ff67ed861.zip
Support Visiontek VT84 (fix #799)
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/VisiontekProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/VisiontekProtocolDecoderTest.java b/test/org/traccar/protocol/VisiontekProtocolDecoderTest.java
index 40d32b3f9..eba888810 100644
--- a/test/org/traccar/protocol/VisiontekProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/VisiontekProtocolDecoderTest.java
@@ -18,6 +18,12 @@ public class VisiontekProtocolDecoderTest {
assertNull(decoder.decode(null, null,
"$1,AP09BU9397,861785006462448,20,06,14,15,03,28,000000000,0000000000,000.0,000,0000,00,0,1,0,0,1,1,24,V,0000000000"));
+
+ assertNull(decoder.decode(null, null,
+ "$1,1234567890,02,06,11,17,07,45,00000000,000000000,00.0,0,0,V"));
+
+ verify(decoder.decode(null, null,
+ "$1,1234567890,02,06,11,17,07,45,17267690N,078279340E,060.0,113,0,A"));
}