aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-01-31 17:16:58 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-01-31 17:16:58 +1300
commit526618bcd0be9b879ed8051b2e4e421566454bbc (patch)
tree8ee46b90fad62e954dd617910a6ac6c29a9380df /test/org
parent7d63248072efe65d61520d694b2c1369147594d4 (diff)
downloadtraccar-server-526618bcd0be9b879ed8051b2e4e421566454bbc.tar.gz
traccar-server-526618bcd0be9b879ed8051b2e4e421566454bbc.tar.bz2
traccar-server-526618bcd0be9b879ed8051b2e4e421566454bbc.zip
Add H02 protocol test case
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 3464c5dba..55bad63c8 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,355488020930796,V3,002339,62160,06,024852,035421,148,0,024852,035425,143,,022251,036482,137,,024852,000335,133,,024852,031751,133,,024852,035423,133,,02A1,0,X,010104,EFE7FBFF#"));
+
verifyPosition(decoder, buffer(
"*HQ,4106012736,V1,224434,A,1827.3855,N,06705.7577,W,000.00,000,100117,FFFFFBFF,310,260,49101,1753,5#"));