aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2022-01-24 22:13:47 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2022-01-24 22:13:47 -0800
commitfd536f9e0dd33807a3638a0a134dfd97f18a096c (patch)
tree677c230bdfb2ef771dbe2cbc4b069b4879a7c2c3 /src/test/java/org/traccar
parent5a854ce946cc49dbb176b5a436a1b1d6673ba096 (diff)
downloadtrackermap-server-fd536f9e0dd33807a3638a0a134dfd97f18a096c.tar.gz
trackermap-server-fd536f9e0dd33807a3638a0a134dfd97f18a096c.tar.bz2
trackermap-server-fd536f9e0dd33807a3638a0a134dfd97f18a096c.zip
Fix DSF22 decoding
Diffstat (limited to 'src/test/java/org/traccar')
-rw-r--r--src/test/java/org/traccar/protocol/Dsf22ProtocolDecoderTest.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/java/org/traccar/protocol/Dsf22ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Dsf22ProtocolDecoderTest.java
index 96cd78f03..4089c208c 100644
--- a/src/test/java/org/traccar/protocol/Dsf22ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Dsf22ProtocolDecoderTest.java
@@ -1,10 +1,8 @@
package org.traccar.protocol;
-import org.junit.Ignore;
import org.junit.Test;
import org.traccar.ProtocolTest;
-@Ignore
public class Dsf22ProtocolDecoderTest extends ProtocolTest {
@Test
@@ -13,6 +11,9 @@ public class Dsf22ProtocolDecoderTest extends ProtocolTest {
var decoder = new Dsf22ProtocolDecoder(null);
verifyPositions(decoder, binary(
+ "4642a82d01c8f6aa1af1792c0c1411eb61001e0000"));
+
+ verifyPositions(decoder, binary(
"4642000101A8EE5F0ECA5FF421B33F524E32610401"));
verifyPositions(decoder, binary(