aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-03-09 15:07:57 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-03-09 15:07:57 +1300
commit7bf00894ad47ef47ce4c9ccc84b560956f3b41f8 (patch)
treef5845e1677402c1b10817a00744868524215f2eb /test/org/traccar/protocol
parentb7898abf1be64a2f9750d1020b20e9ed578d61e9 (diff)
downloadtraccar-server-7bf00894ad47ef47ce4c9ccc84b560956f3b41f8.tar.gz
traccar-server-7bf00894ad47ef47ce4c9ccc84b560956f3b41f8.tar.bz2
traccar-server-7bf00894ad47ef47ce4c9ccc84b560956f3b41f8.zip
Extend Watch frame decoder
Diffstat (limited to 'test/org/traccar/protocol')
-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 664501a43..a1eca30bc 100644
--- a/test/org/traccar/protocol/WatchFrameDecoderTest.java
+++ b/test/org/traccar/protocol/WatchFrameDecoderTest.java
@@ -18,6 +18,10 @@ public class WatchFrameDecoderTest extends ProtocolTest {
binary("5b33472a383330383430363237392a303030392a4c4b2c302c302c38345d"),
decoder.decode(null, null, binary("5b33472a383330383430363237392a303030392a4c4b2c302c302c38345d")));
+ verifyFrame(
+ binary("5b5a4a2a3031343131313030313335303330342a303033342a303030392a4c4b2c302c302c31395d"),
+ decoder.decode(null, null, binary("5b5a4a2a3031343131313030313335303330342a303033342a303030392a4c4b2c302c302c31395d")));
+
}
}