aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-11-08 10:17:53 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-11-08 10:17:53 +1300
commit504c0dbc6e77c35041f0f1237bb0325ab1c0bd24 (patch)
tree6a03f28751ec464f778e56391ffbbd6b52e7f039 /test/org/traccar/protocol
parent7b8bd3e97de258111bd50035ba853e8c138c71c1 (diff)
downloadtraccar-server-504c0dbc6e77c35041f0f1237bb0325ab1c0bd24.tar.gz
traccar-server-504c0dbc6e77c35041f0f1237bb0325ab1c0bd24.tar.bz2
traccar-server-504c0dbc6e77c35041f0f1237bb0325ab1c0bd24.zip
Add H02 unit test case
Diffstat (limited to 'test/org/traccar/protocol')
-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 e4db2f56f..88c76f66a 100644
--- a/test/org/traccar/protocol/H02ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/H02ProtocolDecoderTest.java
@@ -10,6 +10,9 @@ public class H02ProtocolDecoderTest extends ProtocolTest {
H02ProtocolDecoder decoder = new H02ProtocolDecoder(new H02Protocol());
+ verifyNothing(decoder, buffer(
+ "*HQ,355488020533263,V3,121536,65501,04,000152,014001,156,-64,000161,010642,138,,000152,014003,129,,000152,013973,126,,02E4,0,X,071116,FFFFFBFF#"));
+
verifyPosition(decoder, buffer(
"*HQ,4209917484,V19,093043,V,5052.9749,N,00426.4322,E,000.00,000,130916,,0032475874141,8944538530000543700F,FFFFFBFF#"));