aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-11-05 22:32:05 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-11-05 22:32:05 -0700
commitf78da0d7ead0e445f129eac486cc468bedff7c73 (patch)
treea32ad3cb458a1a9bb54cd5339532f13f547dcc84 /src/test/java/org/traccar/protocol
parent10a11e03fbb45506973c85ae49d0fd1443d0f9f1 (diff)
downloadtrackermap-server-f78da0d7ead0e445f129eac486cc468bedff7c73.tar.gz
trackermap-server-f78da0d7ead0e445f129eac486cc468bedff7c73.tar.bz2
trackermap-server-f78da0d7ead0e445f129eac486cc468bedff7c73.zip
Extend Mobilogix protocol support
Diffstat (limited to 'src/test/java/org/traccar/protocol')
-rw-r--r--src/test/java/org/traccar/protocol/MobilogixProtocolDecoderTest.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/java/org/traccar/protocol/MobilogixProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/MobilogixProtocolDecoderTest.java
index efa46b9f6..aca6b9f29 100644
--- a/src/test/java/org/traccar/protocol/MobilogixProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/MobilogixProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class MobilogixProtocolDecoderTest extends ProtocolTest {
var decoder = new MobilogixProtocolDecoder(null);
+ verifyAttributes(decoder, text(
+ "[2021-08-20 19:27:14,T14,1,V1.3.5,201909000982,53,12.18"));
+
verifyNull(decoder, text(
"[2020-12-01 14:00:22,T1,1,V1.1.1,201951132031,,,12345678,724108005415815,359366080211420"));
@@ -29,7 +32,7 @@ public class MobilogixProtocolDecoderTest extends ProtocolTest {
verifyPosition(decoder, text(
"[2021-10-25 20:54:11,T12,1,V1.2.3,201951132044,3F,9.23,991,-25.909262,-47.045387,1,341"));
- verifyNull(decoder, text(
+ verifyAttributes(decoder, text(
"[2021-10-25 20:48:14,T14,1,V1.2.3,201951132044,51,0.50"));
verifyPosition(decoder, text(