aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/DingtekProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-05-29 23:11:19 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-05-29 23:11:19 -0700
commitc524d170f3324ccf10944887faa3d9f35e99e31a (patch)
tree15ddad1449f81cbad53f266665eddbc7615599f6 /src/test/java/org/traccar/protocol/DingtekProtocolDecoderTest.java
parentab1022d0c571af09b2036f8694db71537fa430cd (diff)
downloadtrackermap-server-c524d170f3324ccf10944887faa3d9f35e99e31a.tar.gz
trackermap-server-c524d170f3324ccf10944887faa3d9f35e99e31a.tar.bz2
trackermap-server-c524d170f3324ccf10944887faa3d9f35e99e31a.zip
Fix protocol decoding
Diffstat (limited to 'src/test/java/org/traccar/protocol/DingtekProtocolDecoderTest.java')
-rw-r--r--src/test/java/org/traccar/protocol/DingtekProtocolDecoderTest.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/test/java/org/traccar/protocol/DingtekProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/DingtekProtocolDecoderTest.java
index ccf23a5c2..3a7567106 100644
--- a/src/test/java/org/traccar/protocol/DingtekProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/DingtekProtocolDecoderTest.java
@@ -1,20 +1,21 @@
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(
+ verifyPosition(decoder, text(
"800001011e0692001a00000000016e008027c40000186962703655111781"));
+ verifyNull(decoder, text(
+ "8000010333020E180A1E4B1E124801042015693400000000173.249.23.186;6181;159.138.4.6;8888;000000000000000081"));
+
}
}