aboutsummaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2022-01-20 20:11:04 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2022-01-20 20:11:04 -0800
commit6f1449a9e22f87c22369212c0094e02d813818c0 (patch)
tree907071433cbd1094ab5c6e66382a209cd61338fc /src/test/java
parentedd6f8c70370b80c9990710cdd2d1a0ca4509b7c (diff)
downloadtrackermap-server-6f1449a9e22f87c22369212c0094e02d813818c0.tar.gz
trackermap-server-6f1449a9e22f87c22369212c0094e02d813818c0.tar.bz2
trackermap-server-6f1449a9e22f87c22369212c0094e02d813818c0.zip
Support PAW format
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/org/traccar/protocol/MictrackProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/MictrackProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/MictrackProtocolDecoderTest.java
index 4c17bf1f8..ca8b67a46 100644
--- a/src/test/java/org/traccar/protocol/MictrackProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/MictrackProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class MictrackProtocolDecoderTest extends ProtocolTest {
var decoder = new MictrackProtocolDecoder(null);
+ verifyAttributes(decoder, text(
+ "MT;5;867035041396795;Y1;220111085741+test,8c:53:c3:db:e7:26,-58,jiuide-842,80:26:89:f0:5e:4f,-74,jiu2ide 403,94:e4:4b:0a:31:08,-75,jiu3ide,7a:91:e9:50:26:0b,-85,CNet-9rNe,78:91:e9:40:26:0b,-87+0+4092+1"));
+
verifyAttribute(decoder, text(
"867035041390699 netlock=Success!"),
Position.KEY_RESULT, "netlock=Success");