From 040792aac03882874bffc6d2252e6380b07a3c9f Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 17 May 2021 22:29:41 -0700 Subject: Start UUX protocol implementation --- .../org/traccar/protocol/UuxProtocolDecoderTest.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/test/java/org/traccar/protocol/UuxProtocolDecoderTest.java (limited to 'src/test/java/org') 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")); + + } + +} -- cgit v1.2.3