aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-09-28 23:08:45 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-09-28 23:08:45 +1300
commit5678fb06b466839ee4a34ec85f6b23a816a830cd (patch)
tree8ab9a0714a76757bb1bcab52a6d179db9e8d2c92 /test/org
parent92473a5eed53bc6c525665b4947fd31776a1bc8f (diff)
downloadtraccar-server-5678fb06b466839ee4a34ec85f6b23a816a830cd.tar.gz
traccar-server-5678fb06b466839ee4a34ec85f6b23a816a830cd.tar.bz2
traccar-server-5678fb06b466839ee4a34ec85f6b23a816a830cd.zip
Add H02 unit test
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/H02ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/H02ProtocolDecoderTest.java b/test/org/traccar/protocol/H02ProtocolDecoderTest.java
index bea65a540..b5dcd9ffe 100644
--- a/test/org/traccar/protocol/H02ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/H02ProtocolDecoderTest.java
@@ -12,6 +12,9 @@ public class H02ProtocolDecoderTest extends ProtocolTest {
H02ProtocolDecoder decoder = new H02ProtocolDecoder(new H02Protocol());
verifyPosition(decoder, buffer(
+ "*HQ,353505221264507,V2,100220,0,5238.26259,N,00507.33983,E,0.25,0,280917,FFFFFFFF,cc,28, db,d75b#"));
+
+ verifyPosition(decoder, buffer(
"*HQ,353505221264507,VI1,075146,0,5238.25900,N,00507.33429,E,0.54,0,250917,FFFFFFFF,cc,28, db,d75b#"));
verifyNull(decoder, buffer(