From d701e4cd549e99c594a7ddf41359b59f34ad2cff Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 9 Apr 2019 21:30:05 -0700 Subject: Support letters in device id --- src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/test/java') 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 @@ -11,6 +11,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)")); @@ -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( -- cgit v1.2.3