aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-06-17 11:35:06 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-06-17 12:02:15 +1200
commit3f5122cbaf1710ae8d6c1c7ca9cf6a647f9a3f94 (patch)
tree2aef0b6edff4364f73df38c911add84a2c8f0e94 /test/org/traccar/protocol
parent9f4e34dd799187b32226652fdea9868c4ef5ddb4 (diff)
downloadtraccar-server-3f5122cbaf1710ae8d6c1c7ca9cf6a647f9a3f94.tar.gz
traccar-server-3f5122cbaf1710ae8d6c1c7ca9cf6a647f9a3f94.tar.bz2
traccar-server-3f5122cbaf1710ae8d6c1c7ca9cf6a647f9a3f94.zip
Fix H02 short message handling
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 f1bc069c2..bd4de3363 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,4109198974,#"));
+
verifyAttributes(decoder, buffer(
"*HQ,1700086468,LINK,180902,15,0,84,0,0,240517,FFFFFBFF#"));