aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/org/traccar/protocol')
-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"));
+
+ }
+
+}