aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-05-17 22:29:41 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-05-17 22:29:41 -0700
commit040792aac03882874bffc6d2252e6380b07a3c9f (patch)
tree092db2b59a33d1f9b304247e7dacdf5dc55ddcab /src/test/java/org
parent9702fc67d842017f27832abd3b8edba47cda0f4f (diff)
downloadtrackermap-server-040792aac03882874bffc6d2252e6380b07a3c9f.tar.gz
trackermap-server-040792aac03882874bffc6d2252e6380b07a3c9f.tar.bz2
trackermap-server-040792aac03882874bffc6d2252e6380b07a3c9f.zip
Start UUX protocol implementation
Diffstat (limited to 'src/test/java/org')
-rw-r--r--src/test/java/org/traccar/protocol/UuxProtocolDecoderTest.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/UuxProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/UuxProtocolDecoderTest.java
new file mode 100644
index 000000000..203ff2492
--- /dev/null
+++ b/src/test/java/org/traccar/protocol/UuxProtocolDecoderTest.java
@@ -0,0 +1,18 @@
+package org.traccar.protocol;
+
+import org.junit.Test;
+import org.traccar.ProtocolTest;
+
+public class UuxProtocolDecoderTest extends ProtocolTest {
+
+ @Test
+ public void testDecode() throws Exception {
+
+ var decoder = new UuxProtocolDecoder(null);
+
+ verifyAttributes(decoder, binary(
+ "81918c2d9e31395533443630363631041c0c16043030313030300007000000000000000000000000000000000000000000"));
+
+ }
+
+}