aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-01-27 22:53:16 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2021-01-27 22:53:16 -0800
commit55138ee13f52e0896d4a074d838199c1a0d46147 (patch)
tree2ac8c36c1b9197121a4a98648777da68796daef7 /src/test/java/org/traccar/protocol
parent0d33868866b1d4dee89b6dff756bbbacfd58508f (diff)
downloadtrackermap-server-55138ee13f52e0896d4a074d838199c1a0d46147.tar.gz
trackermap-server-55138ee13f52e0896d4a074d838199c1a0d46147.tar.bz2
trackermap-server-55138ee13f52e0896d4a074d838199c1a0d46147.zip
Handle no-milliseconds format
Diffstat (limited to 'src/test/java/org/traccar/protocol')
-rw-r--r--src/test/java/org/traccar/protocol/Gps103ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Gps103ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gps103ProtocolDecoderTest.java
index 63a6e06d0..f22b3801c 100644
--- a/src/test/java/org/traccar/protocol/Gps103ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Gps103ProtocolDecoderTest.java
@@ -12,6 +12,9 @@ public class Gps103ProtocolDecoderTest extends ProtocolTest {
Gps103ProtocolDecoder decoder = new Gps103ProtocolDecoder(null);
verifyPosition(decoder, text(
+ "imei:864035050002451,tracker,201223064947,,F,064947,A,1935.70640,N,09859.94436,W,0.025,;"));
+
+ verifyPosition(decoder, text(
"imei:760112011448012,001,2001151918,,F,191833.000,A,6136.6174,N,2126.9901,E,0.00,202.6,-0.1,1,,,,20;"));
verifyAttribute(decoder, text(