aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2023-02-22 07:13:39 -0800
committerGitHub <noreply@github.com>2023-02-22 07:13:39 -0800
commitafef64ee9a572e1c65368de3012bc5792374e411 (patch)
tree226f30583e8cd7ec2d79bfc6233bc9d57546ae1a /src/test/java/org
parent392f00082faff72c9948ed569e4c883a5fabe7d6 (diff)
parenta2d9daf4b21313ebaed862f126355becf2b6d4ec (diff)
downloadtrackermap-server-afef64ee9a572e1c65368de3012bc5792374e411.tar.gz
trackermap-server-afef64ee9a572e1c65368de3012bc5792374e411.tar.bz2
trackermap-server-afef64ee9a572e1c65368de3012bc5792374e411.zip
Merge pull request #5037 from truppelito/master
Wialon attributes improvement
Diffstat (limited to 'src/test/java/org')
-rw-r--r--src/test/java/org/traccar/protocol/WialonProtocolDecoderTest.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/WialonProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/WialonProtocolDecoderTest.java
index 6953784fb..0a47edcb4 100644
--- a/src/test/java/org/traccar/protocol/WialonProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/WialonProtocolDecoderTest.java
@@ -1,8 +1,11 @@
package org.traccar.protocol;
+import org.traccar.model.Position;
import org.junit.Test;
import org.traccar.ProtocolTest;
+import static org.junit.Assert.assertEquals;
+
public class WialonProtocolDecoderTest extends ProtocolTest {
@Test
@@ -75,6 +78,8 @@ public class WialonProtocolDecoderTest extends ProtocolTest {
verifyPositions(decoder, text(
"#B#110315;045857;5364.0167;N;06127.8262;E;0;155;965;7;2.40;4;0;14.77,0.02,3.6;AB45DF01145;"));
+ verifyAttribute(decoder, text(
+ "#D#120319;112003;NA;NA;NA;NA;0.000;NA;NA;0;NA;NA;NA;NA;NA;motion:3:false"), "motion", false);
}
}