diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2019-06-29 21:19:50 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2019-06-29 21:19:50 -0700 |
commit | 5b7722bd3fd6f7782eadd4b1afc518fdba28e8d3 (patch) | |
tree | 00d1689f3e6d40100201f33b4e933c121ace2997 /src/test/java/org/traccar/protocol | |
parent | b56dea19d0fb6742425c00af0ad6034bd4b1abd6 (diff) | |
download | traccar-server-5b7722bd3fd6f7782eadd4b1afc518fdba28e8d3.tar.gz traccar-server-5b7722bd3fd6f7782eadd4b1afc518fdba28e8d3.tar.bz2 traccar-server-5b7722bd3fd6f7782eadd4b1afc518fdba28e8d3.zip |
Implement protocol responses
Diffstat (limited to 'src/test/java/org/traccar/protocol')
-rw-r--r-- | src/test/java/org/traccar/protocol/H02ProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/H02ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/H02ProtocolDecoderTest.java index c69dffce7..31e4f2dee 100644 --- a/src/test/java/org/traccar/protocol/H02ProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/H02ProtocolDecoderTest.java @@ -11,6 +11,9 @@ public class H02ProtocolDecoderTest extends ProtocolTest { H02ProtocolDecoder decoder = new H02ProtocolDecoder(null); + verifyNull(decoder, buffer( + "*HQ,135790246811220,HTBT#")); + verifyPosition(decoder, binary( "24702802061601234020031910125482600612695044000000ffffbbff000000000000000001760d04e2c9934d")); |