aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-03-21 10:15:48 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-03-21 10:15:48 -0700
commitada088e6fc4fc9d2197d2179deba11642999c03d (patch)
tree8dc8e56a3bba5e26b05ec3f45052d8f026ca65ad /src/test
parentfd466266940a49a55b3b2b4ad89a2a4b07326da5 (diff)
downloadtraccar-server-ada088e6fc4fc9d2197d2179deba11642999c03d.tar.gz
traccar-server-ada088e6fc4fc9d2197d2179deba11642999c03d.tar.bz2
traccar-server-ada088e6fc4fc9d2197d2179deba11642999c03d.zip
Start Navtelecom implementation
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/traccar/protocol/NavtelecomProtocolDecoderTest.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/NavtelecomProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/NavtelecomProtocolDecoderTest.java
new file mode 100644
index 000000000..444752fb7
--- /dev/null
+++ b/src/test/java/org/traccar/protocol/NavtelecomProtocolDecoderTest.java
@@ -0,0 +1,18 @@
+package org.traccar.protocol;
+
+import org.junit.Test;
+import org.traccar.ProtocolTest;
+
+public class NavtelecomProtocolDecoderTest extends ProtocolTest {
+
+ @Test
+ public void testDecode() throws Exception {
+
+ NavtelecomProtocolDecoder decoder = new NavtelecomProtocolDecoder(null);
+
+ verifyNull(decoder, binary(
+ "404e5443010000000000000013004e452a3e533a383636373935303331343130363839"));
+
+ }
+
+}