aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/EskyFrameDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-08-23 00:51:38 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-08-23 00:51:38 +1200
commitebd193d4d5a98f7b53cc229f1c7287d05465b13e (patch)
treef3f99d7c7ce3f2d008a81b5cf630f5a900ac009f /test/org/traccar/protocol/EskyFrameDecoderTest.java
parent10e801928c521456fa54019d878093dc0538de8a (diff)
downloadtrackermap-server-ebd193d4d5a98f7b53cc229f1c7287d05465b13e.tar.gz
trackermap-server-ebd193d4d5a98f7b53cc229f1c7287d05465b13e.tar.bz2
trackermap-server-ebd193d4d5a98f7b53cc229f1c7287d05465b13e.zip
Handle eSky negative coords
Diffstat (limited to 'test/org/traccar/protocol/EskyFrameDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/EskyFrameDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/EskyFrameDecoderTest.java b/test/org/traccar/protocol/EskyFrameDecoderTest.java
index 34a984bb2..e8902e8be 100644
--- a/test/org/traccar/protocol/EskyFrameDecoderTest.java
+++ b/test/org/traccar/protocol/EskyFrameDecoderTest.java
@@ -12,6 +12,10 @@ public class EskyFrameDecoderTest extends ProtocolTest {
EskyFrameDecoder decoder = new EskyFrameDecoder();
verifyFrame(
+ binary("454c3b313b3836343930363032393139363632363b3137303832323134333432363b"),
+ decoder.decode(null, null, binary("454c3b313b3836343930363032393139363632363b3137303832323134333432363b")));
+
+ verifyFrame(
binary("454f3b303b3836343930363032393139363632363b523b302b3137303830383135353335322b302e30303030302b302e30303030302b302e30302b302b3078312b302b302b302b31323333"),
decoder.decode(null, null, binary("454f3b303b3836343930363032393139363632363b523b302b3137303830383135353335322b302e30303030302b302e30303030302b302e30302b302b3078312b302b302b302b31323333")));