From 233f54da4216cd1b3bf4bdc864e23e3fedc98ff1 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 29 Jul 2017 10:13:10 +1200 Subject: Add H02 test case --- test/org/traccar/protocol/H02ProtocolDecoderTest.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/org/traccar/protocol') 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,#")); -- cgit v1.2.3