aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/FutureWayFrameDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-11-02 20:47:48 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2020-11-02 20:47:48 -0800
commit9cc1c29ec08cdc4369b010ac17b270bf3c3d7ead (patch)
treebe1d1d42d5766a5926c98d36260fd3191503fccd /src/test/java/org/traccar/protocol/FutureWayFrameDecoderTest.java
parent5516ec3057eb3a38ad4b7bc42212afbac6d11adc (diff)
downloadtrackermap-server-9cc1c29ec08cdc4369b010ac17b270bf3c3d7ead.tar.gz
trackermap-server-9cc1c29ec08cdc4369b010ac17b270bf3c3d7ead.tar.bz2
trackermap-server-9cc1c29ec08cdc4369b010ac17b270bf3c3d7ead.zip
Alternative smart crutches format
Diffstat (limited to 'src/test/java/org/traccar/protocol/FutureWayFrameDecoderTest.java')
-rw-r--r--src/test/java/org/traccar/protocol/FutureWayFrameDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/FutureWayFrameDecoderTest.java b/src/test/java/org/traccar/protocol/FutureWayFrameDecoderTest.java
index fb1e395f1..fb1597474 100644
--- a/src/test/java/org/traccar/protocol/FutureWayFrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/FutureWayFrameDecoderTest.java
@@ -11,6 +11,10 @@ public class FutureWayFrameDecoderTest extends ProtocolTest {
FutureWayFrameDecoder decoder = new FutureWayFrameDecoder();
verifyFrame(
+ binary("343130303030303039424130303030344750533a562c3230303930323039333333332c302e3030303030304e2c302e303030303030452c302e3030302c302e3030300d0a574946493a332c317c39302d36372d31432d46372d32312d36437c353226327c38302d38392d31372d43362d37392d41307c353426337c34302d46342d32302d45462d44442d32417c35380d0a4c42533a3436302c302c34363437353036362c36390d0a36413432"),
+ decoder.decode(null, null, binary("343130303030303039424130303030344750533a562c3230303930323039333333332c302e3030303030304e2c302e303030303030452c302e3030302c302e3030300d0a574946493a332c317c39302d36372d31432d46372d32312d36437c353226327c38302d38392d31372d43362d37392d41307c353426337c34302d46342d32302d45462d44442d32417c35380d0a4c42533a3436302c302c34363437353036362c36390d0a36413432")));
+
+ verifyFrame(
binary("34313030303030303346323030303032302c494d45493a3335343832383130303132363436312c62617474657279206c6576656c3a362c6e6574776f726b20747970653a372c4353513a323336463432"),
decoder.decode(null, null, binary("34313030303030303346323030303032302c494d45493a3335343832383130303132363436312c62617474657279206c6576656c3a362c6e6574776f726b20747970653a372c4353513a323336463432")));