aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-06-17 20:56:05 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-06-17 20:56:05 -0700
commitf43c8f976e9dc22847ce7afd827f587e47c89d73 (patch)
treed7bde1ee91fbd691441b3cda281ff64bcc7c7f29 /src/test/java/org/traccar/protocol
parent65a39217ea14ef266a042c284189ac13a43b20c5 (diff)
downloadtrackermap-server-f43c8f976e9dc22847ce7afd827f587e47c89d73.tar.gz
trackermap-server-f43c8f976e9dc22847ce7afd827f587e47c89d73.tar.bz2
trackermap-server-f43c8f976e9dc22847ce7afd827f587e47c89d73.zip
Handle spaces in TK103 protocol
Diffstat (limited to 'src/test/java/org/traccar/protocol')
-rw-r--r--src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java
index 4e654239d..f27a3e0c7 100644
--- a/src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java
@@ -12,6 +12,9 @@ public class Tk103ProtocolDecoderTest extends ProtocolTest {
Tk103ProtocolDecoder decoder = new Tk103ProtocolDecoder(null);
verifyPosition(decoder, text(
+ "(027023361470BR00200617A4000.5775N 8415.4076W 46.0173725 87.3101000000L00000000)"));
+
+ verifyPosition(decoder, text(
"(BALLESTEROS3BR00190408A4113.5700N00140.3100E000.0162431000.0001000000L00000000)"));
verifyPosition(decoder, text(