aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-01-09 16:13:24 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2020-01-09 16:13:24 -0800
commit42a0fef17757082442e3dea4d1fc0f57750c0f90 (patch)
tree574cc6454979c1eef4551b19c032d1e7f6bdb2f7 /src/test/java/org/traccar
parent73228519ae738f20e1d6d601007f0afc4a9ed3ac (diff)
downloadtrackermap-server-42a0fef17757082442e3dea4d1fc0f57750c0f90.tar.gz
trackermap-server-42a0fef17757082442e3dea4d1fc0f57750c0f90.tar.bz2
trackermap-server-42a0fef17757082442e3dea4d1fc0f57750c0f90.zip
Fix PST protocol issues
Diffstat (limited to 'src/test/java/org/traccar')
-rw-r--r--src/test/java/org/traccar/protocol/PstProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/PstProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/PstProtocolDecoderTest.java
index cab8dc1a0..a5db8872d 100644
--- a/src/test/java/org/traccar/protocol/PstProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/PstProtocolDecoderTest.java
@@ -10,6 +10,12 @@ public class PstProtocolDecoderTest extends ProtocolTest {
PstProtocolDecoder decoder = new PstProtocolDecoder(null);
+ verifyPosition(decoder, binary(
+ "2faf9ab606000004c7055052ec88c0070b04000015050c09b500a25271c733e0720d01fe0f045052ec8410145052ba07858413918af325e7020802fe010001051103ffff0015023bbdc87d"));
+
+ verifyPosition(decoder, binary(
+ "2faf9ab606000004c7055052ec88c0070b04000015050c09b500a25271c733e0720d01fe0f045052ec8410145052ba07858413918af325e7020802fe010001051103ffff0015023bbdc87d"));
+
verifyNull(decoder, binary(
"2faf9b4c0600000012054f36ec194000bfa9"));