aboutsummaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2024-07-26 08:39:59 -0700
committerAnton Tananaev <anton@traccar.org>2024-07-26 08:39:59 -0700
commit1f6028589096a89fbec98cbe20e609ce6d6c974a (patch)
tree6866da2c859a561636773fe02294a9bfdd35da51 /src/test/java
parentbea527412cfc6a20b385ba5d37fd40284923ee22 (diff)
downloadtrackermap-server-1f6028589096a89fbec98cbe20e609ce6d6c974a.tar.gz
trackermap-server-1f6028589096a89fbec98cbe20e609ce6d6c974a.tar.bz2
trackermap-server-1f6028589096a89fbec98cbe20e609ce6d6c974a.zip
Add Astra protocol X support
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/org/traccar/protocol/AstraProtocolDecoderTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/org/traccar/protocol/AstraProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/AstraProtocolDecoderTest.java
index cf1978f4e..dc48fc829 100644
--- a/src/test/java/org/traccar/protocol/AstraProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/AstraProtocolDecoderTest.java
@@ -10,8 +10,8 @@ public class AstraProtocolDecoderTest extends ProtocolTest {
var decoder = inject(new AstraProtocolDecoder(null));
- verifyNull(decoder, binary(
- "58003d018b0000000000bf514f00b70000006000093e60514f00b6032fec49ffdc7627000041020000000100010000000000090001010000008f00aba3"));
+ verifyPositions(decoder, false, binary(
+ "5800cb02052196881aff5b3c0000200010bf53cbfab10000000100393d5853cbfab0031b93affffb034b0000ae00000000010000000c000c00000000000000787e00000000000000000000000000000000000000000000000000000000000000000000000000000000003d0000200010bf53cbfae60000280000293c5853cbfae6031b93affffb034b0000ae00000000010000000d000c00000000000000ae7e0000000000000000000000000000000000000000000000000000000000000000000000000000000000e604"));
verifyPositions(decoder, binary(
"4b00700529c0c265976b8202cba9ff00676d864554a9c30000000020073401006436000300030008000000000000a0000100001920c43d00009600428302cba9ff00676d864554aa3e000000002007240100643b000300020008000000000000b0000100001920c43d00009600420f0e"));