aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-05-30 23:42:11 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-05-30 23:42:11 -0700
commitaf8c41c0b0ce8cd2ce942f6e665dbfaba86a1703 (patch)
treefc43778e0c0bd0a9dcb2a35252410610c9d70114 /src/test
parent1455296728b0199eb27b74ffed8b99c9171eb84f (diff)
downloadtrackermap-server-af8c41c0b0ce8cd2ce942f6e665dbfaba86a1703.tar.gz
trackermap-server-af8c41c0b0ce8cd2ce942f6e665dbfaba86a1703.tar.bz2
trackermap-server-af8c41c0b0ce8cd2ce942f6e665dbfaba86a1703.zip
Decode additional parameters
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/traccar/protocol/T800xProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/T800xProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/T800xProtocolDecoderTest.java
index 2afc0ef6f..9b564c895 100644
--- a/src/test/java/org/traccar/protocol/T800xProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/T800xProtocolDecoderTest.java
@@ -12,6 +12,12 @@ public class T800xProtocolDecoderTest extends ProtocolTest {
T800xProtocolDecoder decoder = new T800xProtocolDecoder(null);
verifyNull(decoder, binary(
+ "272705005e000108664250328807851905301107481054002d004d006f00620069006c006500074341542d4e42310a4c54452042414e4420340f333130323430323030303032333030143839303132343032303531303030323330303746"));
+
+ verifyPosition(decoder, binary(
+ "272702004904a90866425032880785c800190530080350000000000705eec29bf50842000000000008008090502a003700000a9e358002003c000003841900001e3f90000000000000272702004904aa0866425032880785c800190530081851000000000705eec29bf50842000000000008008090602e003700000a9e358002003c000003841900001e3f90000000000000"));
+
+ verifyNull(decoder, binary(
"2727010017000108806168988888881016010207110111"));
verifyNull(decoder, binary(