aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-07-12 19:10:19 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-07-12 19:10:19 -0700
commit2507a8183ff78cc75dea82327523d9e151d95920 (patch)
tree9b7bc3992b2502327812641f9302a8ebd2ef91b4 /src/test/java/org/traccar
parentb2260e5220e7bfbd5098502dbaca0aa68222b79b (diff)
downloadtrackermap-server-2507a8183ff78cc75dea82327523d9e151d95920.tar.gz
trackermap-server-2507a8183ff78cc75dea82327523d9e151d95920.tar.bz2
trackermap-server-2507a8183ff78cc75dea82327523d9e151d95920.zip
Support alternative location report
Diffstat (limited to 'src/test/java/org/traccar')
-rw-r--r--src/test/java/org/traccar/protocol/HuabaoProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/HuabaoProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/HuabaoProtocolDecoderTest.java
index 233603179..97a77eb28 100644
--- a/src/test/java/org/traccar/protocol/HuabaoProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/HuabaoProtocolDecoderTest.java
@@ -14,6 +14,9 @@ public class HuabaoProtocolDecoderTest extends ProtocolTest {
verifyNull(decoder, binary(
"7E01000021013345678906000F002C012F373031313142534A2D4D3742203030303030303001D4C1423838383838B47E"));
+ verifyPosition(decoder, binary(
+ "7E550100287001608180000127061008045322332880113555602E050031010000000608000010931435010002000300030100051B7E"));
+
verifyAttribute(decoder, binary(
"7E0200005C03204187290418C70000000000040003015AFC8D06D134D600000000000020040110063457080000000000000000010400000002530901000000000000000030010F310106EB1D000800233030312E3437000A000300000000000000000005000101A500357E"),
"fuel2", 1.47);