aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-03-05 08:16:58 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-03-05 08:16:58 +1300
commit644d9c440eb193dabeb14ad81c838dbb824bb950 (patch)
treef710fadd3f90f76d7ec9a045505e94373a3f6541 /test/org
parent1423209d00804948110e1b70c2e41248b4945877 (diff)
downloadtraccar-server-644d9c440eb193dabeb14ad81c838dbb824bb950.tar.gz
traccar-server-644d9c440eb193dabeb14ad81c838dbb824bb950.tar.bz2
traccar-server-644d9c440eb193dabeb14ad81c838dbb824bb950.zip
Add TK103 unit test case
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/Tk103ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java b/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java
index 09ace415c..da412e9a7 100644
--- a/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java
@@ -10,6 +10,9 @@ public class Tk103ProtocolDecoderTest extends ProtocolTest {
Tk103ProtocolDecoder decoder = new Tk103ProtocolDecoder(new Tk103Protocol());
+ verifyNothing(decoder, text(
+ "(357593060760397BP02,G,2,170304A6015.7466N01101.8460E001.609445591.048,7)"));
+
verifyPosition(decoder, text(
"(325031693849BR00170228A5750.8012N02700.7476E000.2154529000.0000000200L00000000,170228,194530)"));