diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-09-12 01:14:58 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-09-12 10:15:27 +1200 |
commit | b7210be4600bca6731700702c4f135ff9e263a89 (patch) | |
tree | d55a1fb7a17e17507b4f80c6cd81ec166b947b35 /test/org/traccar/protocol | |
parent | 753779ee7c3e08693ccb349fb51fee9f8fa8858c (diff) | |
download | traccar-server-b7210be4600bca6731700702c4f135ff9e263a89.tar.gz traccar-server-b7210be4600bca6731700702c4f135ff9e263a89.tar.bz2 traccar-server-b7210be4600bca6731700702c4f135ff9e263a89.zip |
Add H02 no GPS test case
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r-- | test/org/traccar/protocol/H02ProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/H02ProtocolDecoderTest.java b/test/org/traccar/protocol/H02ProtocolDecoderTest.java index 103746e5e..59882a91f 100644 --- a/test/org/traccar/protocol/H02ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/H02ProtocolDecoderTest.java @@ -11,6 +11,9 @@ public class H02ProtocolDecoderTest extends ProtocolTest { H02ProtocolDecoder decoder = new H02ProtocolDecoder(new H02Protocol()); + verifyNull(decoder, buffer( + "*HQ,353505510948929,V1,,V,,N,,E,0.00,0,,FFFFF7FF,f0,a,11a0,c0c6#")); + verifyPosition(decoder, buffer( "*hq,356327080425330,VP1,A,2702.7245,S,15251.9311,E,0.48,0.0000,080917#")); |