diff options
author | Valerii Vyshniak <valeravi@vi-soft.com.ua> | 2017-11-20 02:40:37 +0100 |
---|---|---|
committer | Valerii Vyshniak <valeravi@vi-soft.com.ua> | 2017-11-20 02:40:37 +0100 |
commit | fd9f7b72c1994508ef26df05f4001ab0fd8449e3 (patch) | |
tree | db3f8da64d49151de67938a41fd44e26b89d6831 /test/org/traccar/protocol/Tk103ProtocolDecoderTest.java | |
parent | b5f33434ff94cbad7a8c37f9211b0c939c6cdc4b (diff) | |
download | trackermap-server-fd9f7b72c1994508ef26df05f4001ab0fd8449e3.tar.gz trackermap-server-fd9f7b72c1994508ef26df05f4001ab0fd8449e3.tar.bz2 trackermap-server-fd9f7b72c1994508ef26df05f4001ab0fd8449e3.zip |
T580W: review comments fixes
Diffstat (limited to 'test/org/traccar/protocol/Tk103ProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/Tk103ProtocolDecoderTest.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java b/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java index f10912d68..b8fe872ee 100644 --- a/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java @@ -184,6 +184,23 @@ public class Tk103ProtocolDecoderTest extends ProtocolTest { verifyNotNull(decoder, text( "(013632651491,DW50,460,0,0,6,0,040613,040137")); + verifyNotNull(decoder, text( + "(864555555555555,ZC03,191117,234207,$Notice: Device version: 1.0$")); + + verifyNotNull(decoder, text( + "(864555555555555,ZC03,191117,234207,$1 .Sensor sensitivity: 1\r\n" + + "2 .Alert status: Off\r\n" + + "3 .Check interval is set to 240 minute(s).\r\n" + + "4 .Checkgsm interval is set to 60 minute(s).\r\n" + + "5 .SOS SMS Alert: On\r\n" + + "6 .SOS Call Alert: On\r\n" + + "7 . Power: 95%$")); + + verifyNotNull(decoder, text( + "(864555555555555,ZC03,191117,234207,$1 .Sensor sensitivity: 1\r\n" + + "2 .Alert status: Off\r\n" + + "3 .Check interval is set to 240 minute(s")); + } } |