aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-10-28 20:32:09 -0700
committerAnton Tananaev <anton@traccar.org>2023-10-28 20:32:09 -0700
commit29b9ec9ddcd8248b8a8398a2c714a8f52c0581d8 (patch)
treec36a96662a0679b970c0b1adbb39d86b5c598ad1 /src/test
parent6878beaa6856c378b0df0c17b8a4c689fd752cfa (diff)
downloadtrackermap-server-29b9ec9ddcd8248b8a8398a2c714a8f52c0581d8.tar.gz
trackermap-server-29b9ec9ddcd8248b8a8398a2c714a8f52c0581d8.tar.bz2
trackermap-server-29b9ec9ddcd8248b8a8398a2c714a8f52c0581d8.zip
Basic Positrex protocol support
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/traccar/protocol/PositrexProtocolDecoderTest.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/PositrexProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/PositrexProtocolDecoderTest.java
new file mode 100644
index 000000000..ff9d3ee1b
--- /dev/null
+++ b/src/test/java/org/traccar/protocol/PositrexProtocolDecoderTest.java
@@ -0,0 +1,20 @@
+package org.traccar.protocol;
+
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+import org.traccar.ProtocolTest;
+
+public class PositrexProtocolDecoderTest extends ProtocolTest {
+
+ @Disabled
+ @Test
+ public void testDecode() throws Exception {
+
+ var decoder = inject(new PositrexProtocolDecoder(null));
+
+ verifyPosition(decoder, binary(
+ "TODO"));
+
+ }
+
+}