aboutsummaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-05-20 22:11:36 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-05-20 22:11:36 -0700
commit740b409650c06ce1601be2126e88bc8d672d6d05 (patch)
tree11ac3daa45e243346a7990fc302a4201f74caca9 /src/test/java
parent7a29a1140f872764663b48661473a97be522f96c (diff)
downloadtrackermap-server-740b409650c06ce1601be2126e88bc8d672d6d05.tar.gz
trackermap-server-740b409650c06ce1601be2126e88bc8d672d6d05.tar.bz2
trackermap-server-740b409650c06ce1601be2126e88bc8d672d6d05.zip
Implement Dingtek DF702 protocol
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/org/traccar/protocol/DingtekProtocolDecoderTest.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/DingtekProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/DingtekProtocolDecoderTest.java
new file mode 100644
index 000000000..ccf23a5c2
--- /dev/null
+++ b/src/test/java/org/traccar/protocol/DingtekProtocolDecoderTest.java
@@ -0,0 +1,20 @@
+package org.traccar.protocol;
+
+import org.junit.Ignore;
+import org.junit.Test;
+import org.traccar.ProtocolTest;
+
+public class DingtekProtocolDecoderTest extends ProtocolTest {
+
+ @Ignore
+ @Test
+ public void testDecode() throws Exception {
+
+ DingtekProtocolDecoder decoder = new DingtekProtocolDecoder(null);
+
+ verifyPosition(decoder, binary(
+ "800001011e0692001a00000000016e008027c40000186962703655111781"));
+
+ }
+
+}