aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-04-09 21:30:05 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-04-09 21:30:05 -0700
commitd701e4cd549e99c594a7ddf41359b59f34ad2cff (patch)
tree4261e454b974d947bfd5e527d2704a0bfea71b9c /src/test/java/org
parente6b0e38e6d250253b62c41dac3f01a9309a8de7f (diff)
downloadtrackermap-server-d701e4cd549e99c594a7ddf41359b59f34ad2cff.tar.gz
trackermap-server-d701e4cd549e99c594a7ddf41359b59f34ad2cff.tar.bz2
trackermap-server-d701e4cd549e99c594a7ddf41359b59f34ad2cff.zip
Support letters in device id
Diffstat (limited to 'src/test/java/org')
-rw-r--r--src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java
index db636893b..4e654239d 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(
+ "(BALLESTEROS3BR00190408A4113.5700N00140.3100E000.0162431000.0001000000L00000000)"));
+
+ verifyPosition(decoder, text(
"(094625928000BR00190213A1156.0431S07705.6145W000.000023521.40000000007L00000314T113)"));
verifyPosition(decoder, text(
@@ -32,7 +35,7 @@ public class Tk103ProtocolDecoderTest extends ProtocolTest {
verifyPosition(decoder, text(
"(864768011069660,ZC17,250517,A,3211.7118N,03452.8086E,0.68,115525,208.19,64.50,9)"));
- verifyNull(decoder, text(
+ verifyPosition(decoder, text(
"(357593060760397BP02,G,2,170304A6015.7466N01101.8460E001.609445591.048,7)"));
verifyPosition(decoder, text(