aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-02-17 06:54:24 -0800
committerAnton Tananaev <anton@traccar.org>2023-02-17 06:54:24 -0800
commit596036dc3380e0750d27c814a4d3bb94f4c7e1ea (patch)
treec6687ca82f1527e297cabd2bbb99a41fb3f29704 /src/test/java/org/traccar
parentda3125265fe8b4744cd9d444f5b038c4e13c43d7 (diff)
downloadtrackermap-server-596036dc3380e0750d27c814a4d3bb94f4c7e1ea.tar.gz
trackermap-server-596036dc3380e0750d27c814a4d3bb94f4c7e1ea.tar.bz2
trackermap-server-596036dc3380e0750d27c814a4d3bb94f4c7e1ea.zip
Add another Tramigo sample
Diffstat (limited to 'src/test/java/org/traccar')
-rw-r--r--src/test/java/org/traccar/protocol/TramigoProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/TramigoProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/TramigoProtocolDecoderTest.java
index d692a41d5..32bc05e23 100644
--- a/src/test/java/org/traccar/protocol/TramigoProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/TramigoProtocolDecoderTest.java
@@ -10,6 +10,9 @@ public class TramigoProtocolDecoderTest extends ProtocolTest {
var decoder = inject(new TramigoProtocolDecoder(null));
+ verifyNull(decoder, binary(
+ "04d000a9e45c1b69101a023ef34f00549eec63047795ec63000000004eff5c0062c2e4ffbf612f00ce9aec63000000007700960180c0e4ff5f542f004c1200007b004a023d0200000001430000000000000000001f000b0006005a57436f63612d436f6c6120426f74746c696e6720506c616e74204861726172654772616e69746573696465486172617265014400000000000000000021000a0006005a574a6169726f7320486972692043656e747265205072696d617279205363686f6f6c536f7574686572746f6e486172617265"));
+
verifyPosition(decoder, binary(
"0480001df35b1b69101a023ef34f0090436d38003200380e0000850081c0e4ff6d542f00000015000000050000000000007600a20100008f436d3800014400000000000000000021000a0006005a574a6169726f7320486972692043656e747265205072696d617279205363686f6f6c536f7574686572746f6e486172617265"));