From 5848419666fc6eb14c5b0178a9738f19f0be2b61 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 20 Aug 2018 17:32:19 +1200 Subject: Implement wristband tracker protocol --- .../traccar/protocol/WristbandProtocolDecoderTest.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 test/org/traccar/protocol/WristbandProtocolDecoderTest.java (limited to 'test/org/traccar/protocol') diff --git a/test/org/traccar/protocol/WristbandProtocolDecoderTest.java b/test/org/traccar/protocol/WristbandProtocolDecoderTest.java new file mode 100644 index 000000000..e85b21a35 --- /dev/null +++ b/test/org/traccar/protocol/WristbandProtocolDecoderTest.java @@ -0,0 +1,18 @@ +package org.traccar.protocol; + +import org.junit.Test; +import org.traccar.ProtocolTest; + +public class WristbandProtocolDecoderTest extends ProtocolTest { + + @Test + public void testDecode() throws Exception { + + WristbandProtocolDecoder decoder = new WristbandProtocolDecoder(new WristbandProtocol()); + + verifyNull(decoder, binary( + "000102004159583336373535313631303030303934347c56312e307c317c7b4639312330317c30307c30307c33475f7065745f323031382f30352f31362031313a30307d0d0afffefc")); + + } + +} -- cgit v1.2.3