aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-08-20 17:32:19 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-08-20 17:32:19 +1200
commit5848419666fc6eb14c5b0178a9738f19f0be2b61 (patch)
tree891288be7b13d70cff4cb6f36db3f7aeaa9f5a7c /test/org
parent98fd364db65daf847b2b76819cd36602aaef8d25 (diff)
downloadtrackermap-server-5848419666fc6eb14c5b0178a9738f19f0be2b61.tar.gz
trackermap-server-5848419666fc6eb14c5b0178a9738f19f0be2b61.tar.bz2
trackermap-server-5848419666fc6eb14c5b0178a9738f19f0be2b61.zip
Implement wristband tracker protocol
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/WristbandProtocolDecoderTest.java18
1 files changed, 18 insertions, 0 deletions
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"));
+
+ }
+
+}