aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-07-29 10:13:10 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-07-29 10:13:10 +1200
commit233f54da4216cd1b3bf4bdc864e23e3fedc98ff1 (patch)
tree082bf83433f64c1e1df381c78c4534bb96ae422b /test
parentb6694bf035aa3dd8595c9d24fa88a93abf7676d6 (diff)
downloadtrackermap-server-233f54da4216cd1b3bf4bdc864e23e3fedc98ff1.tar.gz
trackermap-server-233f54da4216cd1b3bf4bdc864e23e3fedc98ff1.tar.bz2
trackermap-server-233f54da4216cd1b3bf4bdc864e23e3fedc98ff1.zip
Add H02 test case
Diffstat (limited to 'test')
-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 bd4de3363..48f4d987e 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());
+ verifyPosition(decoder, binary(
+ "2442091341332059572807175137358006000183640e000000fffffbfdff001f080000000000ea1e0000000021"));
+
verifyNull(decoder, buffer(
"*HQ,4109198974,#"));