aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-07-04 17:38:14 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-07-04 17:38:14 -0700
commitba76f1e5d1c2acedfad92f5e60d54ecb6ed3f362 (patch)
treef50ecd33541c7fde060a8ad05f1c3552af0d17a3 /src/test
parent5abec77eadc5f95d1fe81f97d9a0de47c8631d6c (diff)
downloadtrackermap-server-ba76f1e5d1c2acedfad92f5e60d54ecb6ed3f362.tar.gz
trackermap-server-ba76f1e5d1c2acedfad92f5e60d54ecb6ed3f362.tar.bz2
trackermap-server-ba76f1e5d1c2acedfad92f5e60d54ecb6ed3f362.zip
Implement PST acknowledgement
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/traccar/protocol/PstProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/PstProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/PstProtocolDecoderTest.java
index dd2564982..d0276eb69 100644
--- a/src/test/java/org/traccar/protocol/PstProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/PstProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class PstProtocolDecoderTest extends ProtocolTest {
PstProtocolDecoder decoder = new PstProtocolDecoder(null);
verifyPosition(decoder, binary(
+ "2faf97de06000024db0551380cbb08070b040000015a0c09b50177e5100a1822da0d010d0f0451380628101451380cc384b800488a84036901b202d3010001061103ffff00150203523687"));
+
+ verifyPosition(decoder, binary(
"2fafb18306000005ab055166ee8f08080b0400008ec00c09b50022aef924d320f30d01130f045166ee8f10145166ee92805118978b59109900b3000b0000010c110300a7011404b58000001502039ff6e4"));
verifyPosition(decoder, binary(