diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-12-09 20:03:20 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-12-09 20:03:20 -0800 |
commit | 8e41d3c5eb9d7bfe288ef950b4ac3e4c33c6f1e7 (patch) | |
tree | a5ca89c4a46e9a6bb8da7c8ae7abcc5386f3aa45 /src/test/java/org/traccar/protocol/MobilogixProtocolDecoderTest.java | |
parent | 207f6dbd254cef5f3b70f4725f1d5042d5726fd1 (diff) | |
download | trackermap-server-8e41d3c5eb9d7bfe288ef950b4ac3e4c33c6f1e7.tar.gz trackermap-server-8e41d3c5eb9d7bfe288ef950b4ac3e4c33c6f1e7.tar.bz2 trackermap-server-8e41d3c5eb9d7bfe288ef950b4ac3e4c33c6f1e7.zip |
Fix decoding
Diffstat (limited to 'src/test/java/org/traccar/protocol/MobilogixProtocolDecoderTest.java')
-rw-r--r-- | src/test/java/org/traccar/protocol/MobilogixProtocolDecoderTest.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/test/java/org/traccar/protocol/MobilogixProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/MobilogixProtocolDecoderTest.java index feee99021..875a79b42 100644 --- a/src/test/java/org/traccar/protocol/MobilogixProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/MobilogixProtocolDecoderTest.java @@ -11,13 +11,10 @@ public class MobilogixProtocolDecoderTest extends ProtocolTest { MobilogixProtocolDecoder decoder = new MobilogixProtocolDecoder(null); verifyNull(decoder, text( - "[2020-09-25 21:21:43,T1,1,V1.1.1,201951132415,,,12345678,724108034109376,359366080215256")); + "[2020-12-01 14:00:22,T1,1,V1.1.1,201951132031,,,12345678,724108005415815,359366080211420")); verifyPosition(decoder, text( - "[2011-12-15 10:00:00,T2,1,V1.0.0,A123045612AA123488,1B,4.5,22.564152,113.252432,50.6,270.5,1,460:00:10101:03633")); - - verifyPosition(decoder, text( - "[2011-12-15 10:00:00,T3,1,V1.0.0,A123045612AA123488,1B,4.5,22.564152,113.252432,50.6,270.5,1")); + "[2020-12-01 12:01:09,T3,1,V1.1.1,201951132031,3B,12.99,022,-23.563410,-46.588055,0,0")); } |