aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2024-07-24 06:51:44 -0700
committerAnton Tananaev <anton@traccar.org>2024-07-24 06:51:44 -0700
commit4620fc2db16f05bcd3578b4f5a3239b229d7c99f (patch)
tree80fa8c2eb9722f27a558da0f59c27be220cce805 /src/test/java/org
parent1f1edcfb0e7ca5a6daf2a9a251a433062344d680 (diff)
downloadtrackermap-server-4620fc2db16f05bcd3578b4f5a3239b229d7c99f.tar.gz
trackermap-server-4620fc2db16f05bcd3578b4f5a3239b229d7c99f.tar.bz2
trackermap-server-4620fc2db16f05bcd3578b4f5a3239b229d7c99f.zip
Refactor Astra decoder
Diffstat (limited to 'src/test/java/org')
-rw-r--r--src/test/java/org/traccar/protocol/AstraProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/AstraProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/AstraProtocolDecoderTest.java
index 3dabcac5d..cf1978f4e 100644
--- a/src/test/java/org/traccar/protocol/AstraProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/AstraProtocolDecoderTest.java
@@ -10,6 +10,9 @@ public class AstraProtocolDecoderTest extends ProtocolTest {
var decoder = inject(new AstraProtocolDecoder(null));
+ verifyNull(decoder, binary(
+ "58003d018b0000000000bf514f00b70000006000093e60514f00b6032fec49ffdc7627000041020000000100010000000000090001010000008f00aba3"));
+
verifyPositions(decoder, binary(
"4b00700529c0c265976b8202cba9ff00676d864554a9c30000000020073401006436000300030008000000000000a0000100001920c43d00009600428302cba9ff00676d864554aa3e000000002007240100643b000300020008000000000000b0000100001920c43d00009600420f0e"));