aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-03-27 00:49:29 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-03-27 00:49:29 +1300
commit094a9acabf8f0b94d1c62f77a409dbf7e3b137f6 (patch)
treebcae7f282c10eeca2677dca2e9acc9839a8a6759 /test/org
parentd847f80334498bde6993b8f3a38c7df05d83b47b (diff)
downloadtrackermap-server-094a9acabf8f0b94d1c62f77a409dbf7e3b137f6.tar.gz
trackermap-server-094a9acabf8f0b94d1c62f77a409dbf7e3b137f6.tar.bz2
trackermap-server-094a9acabf8f0b94d1c62f77a409dbf7e3b137f6.zip
Improve Watch frame decoding
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/WatchFrameDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/WatchFrameDecoderTest.java b/test/org/traccar/protocol/WatchFrameDecoderTest.java
index a1eca30bc..741807de2 100644
--- a/test/org/traccar/protocol/WatchFrameDecoderTest.java
+++ b/test/org/traccar/protocol/WatchFrameDecoderTest.java
@@ -11,6 +11,10 @@ public class WatchFrameDecoderTest extends ProtocolTest {
WatchFrameDecoder decoder = new WatchFrameDecoder();
verifyFrame(
+ binary("5b33472a3335323636313039303134333135302a303030412a4c4b2c302c302c3130305d"),
+ decoder.decode(null, null, binary("5b33472a3335323636313039303134333135302a303030412a4c4b2c302c302c3130305d")));
+
+ verifyFrame(
binary("5b33472a383330383430363237392a303030382a72636170747572655d"),
decoder.decode(null, null, binary("5b33472a383330383430363237392a303030382a72636170747572655d")));