diff options
author | Anton Tananaev <anton@traccar.org> | 2023-05-18 07:55:34 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-05-18 07:55:34 -0700 |
commit | 0e8057c605e38ecae49c6c69941a46075507302a (patch) | |
tree | 2bff0ddfb32d6ee43b3fb24397e7a3c97c069db2 /src/test/java/org/traccar/protocol | |
parent | 22277c84db8b19fdda252aa21db3a2bf62d6cba2 (diff) | |
download | trackermap-server-0e8057c605e38ecae49c6c69941a46075507302a.tar.gz trackermap-server-0e8057c605e38ecae49c6c69941a46075507302a.tar.bz2 trackermap-server-0e8057c605e38ecae49c6c69941a46075507302a.zip |
Clean up TranSync decoder
Diffstat (limited to 'src/test/java/org/traccar/protocol')
-rw-r--r-- | src/test/java/org/traccar/protocol/TranSyncProtocolDecoderTest.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/test/java/org/traccar/protocol/TranSyncProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/TranSyncProtocolDecoderTest.java index c84ae2e0f..27f53b574 100644 --- a/src/test/java/org/traccar/protocol/TranSyncProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/TranSyncProtocolDecoderTest.java @@ -10,8 +10,12 @@ public class TranSyncProtocolDecoderTest extends ProtocolTest { var decoder = inject(new TranSyncProtocolDecoder(null)); - verifyPosition(decoder, binary("3a3a2b583f086065705154043900801017050b11190f01623ef40887dff00000c25e9ff707000007152a2d0000000105004794916902050000100000050252ee060200822323")); + verifyPosition(decoder, binary( + "3a3a2b583f086065705154043900801017050b11190f01623ef40887dff00000c25e9ff707000007152a2d0000000105004794916902050000100000050252ee060200822323")); + + verifyAttributes(decoder, binary( + "3a3a2b583f086065705154043900801017050b11190f01623ef40887dff00000c25e9ff707000007152a2d0000000105004794916902050000000000050252ee060200822323")); - verifyAttributes(decoder, binary("3a3a2b583f086065705154043900801017050b11190f01623ef40887dff00000c25e9ff707000007152a2d0000000105004794916902050000000000050252ee060200822323")); } + } |