aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-04-01 13:43:35 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-04-01 13:43:35 +1300
commiteb5fbb9f8ba1a798949e2b881b8268ff151aaeb6 (patch)
tree3660db1e26b76a6d23a7840dc9101e3de9158314 /test
parent8c3aa337b453a71d60b018173feb5a508445cf08 (diff)
downloadtrackermap-server-eb5fbb9f8ba1a798949e2b881b8268ff151aaeb6.tar.gz
trackermap-server-eb5fbb9f8ba1a798949e2b881b8268ff151aaeb6.tar.bz2
trackermap-server-eb5fbb9f8ba1a798949e2b881b8268ff151aaeb6.zip
Add two V680 test cases
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/V680ProtocolDecoderTest.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/V680ProtocolDecoderTest.java b/test/org/traccar/protocol/V680ProtocolDecoderTest.java
index 42c331cde..2e36010c7 100644
--- a/test/org/traccar/protocol/V680ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/V680ProtocolDecoderTest.java
@@ -9,7 +9,13 @@ public class V680ProtocolDecoderTest extends ProtocolTest {
public void testDecode() throws Exception {
V680ProtocolDecoder decoder = new V680ProtocolDecoder(new V680Protocol());
-
+
+ verifyPosition(decoder, text(
+ "#355488020168617##1#0000#AUT#01#260001a412966f#1834.790700,E,5302.748800,N,0.00,0.00#310316#174538.000##"));
+
+ verifyPosition(decoder, text(
+ "#355488020168617##1#0000#AUT#01##1834.770100,E,5302.742800,N,0.62,0.00#310316#211537.000##"));
+
verifyNothing(decoder, text(
"#353588102019155"));