aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-01-13 09:20:22 -0800
committerAnton Tananaev <anton@traccar.org>2023-01-13 09:20:22 -0800
commit4f9c8cca508d4e07823e7fd4c9e4911f042ea63f (patch)
tree2c78a96c65a95db519c5d0a0a9d6b223a0bdd7aa /src/test/java/org
parentec13d084baa823da3a520bc1a69178e58138abe3 (diff)
downloadtrackermap-server-4f9c8cca508d4e07823e7fd4c9e4911f042ea63f.tar.gz
trackermap-server-4f9c8cca508d4e07823e7fd4c9e4911f042ea63f.tar.bz2
trackermap-server-4f9c8cca508d4e07823e7fd4c9e4911f042ea63f.zip
Add Granit Navigator 207 test
Diffstat (limited to 'src/test/java/org')
-rw-r--r--src/test/java/org/traccar/protocol/NdtpV6ProtocolDecoderTest.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/NdtpV6ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/NdtpV6ProtocolDecoderTest.java
new file mode 100644
index 000000000..c63c19a29
--- /dev/null
+++ b/src/test/java/org/traccar/protocol/NdtpV6ProtocolDecoderTest.java
@@ -0,0 +1,18 @@
+package org.traccar.protocol;
+
+import org.junit.Test;
+import org.traccar.ProtocolTest;
+
+public class NdtpV6ProtocolDecoderTest extends ProtocolTest {
+
+ @Test
+ public void testDecode() throws Exception {
+
+ var decoder = inject(new NdtpV6ProtocolDecoder(null));
+
+ verifyAttributes(decoder, binary(
+ "7e7e3b000200334202000000000000000064000100000000000600020002034f0c0200000400000000000033353135313330353131393430353532353030323632373237343836363500"));
+
+ }
+
+}