aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-02-11 09:50:21 -0800
committerAnton Tananaev <anton@traccar.org>2023-02-11 09:50:21 -0800
commitb2824862bb72e7521a61d047235d2dc8ac4c52cd (patch)
tree2a5e12ae5379866d9053b9739239b8d660a0aaba /src/test/java/org/traccar/protocol
parent514582dd83c4520948c03eb3fc84444e0d7f5a49 (diff)
downloadtrackermap-server-b2824862bb72e7521a61d047235d2dc8ac4c52cd.tar.gz
trackermap-server-b2824862bb72e7521a61d047235d2dc8ac4c52cd.tar.bz2
trackermap-server-b2824862bb72e7521a61d047235d2dc8ac4c52cd.zip
Refactor Tramigo decoder
Diffstat (limited to 'src/test/java/org/traccar/protocol')
-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 c2d13d199..db3c5c32f 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(
+ "0480001df35b1b69101a023ef34f0090436d38003200380e0000850081c0e4ff6d542f00000015000000050000000000007600a20100008f436d3800014400000000000000000021000a0006005a574a6169726f7320486972692043656e747265205072696d617279205363686f6f6c536f7574686572746f6e486172617265"));
+
verifyAttributes(decoder, binary(
"8000c426b000a6000101c557037598050d5c8a595472616d69676f3a204d6f76696e672c20302e3132206b6d2045206f66204c617275742054696e2049736c616d6963205072696d617279205363686f6f6c2c2054616970696e672c20506572616b2c204d592c20342e38333134392c203130302e37333038352c204e572077697468207370656564203130206b6d2f682c2030303a34393a30382041756720392020454f46"));