aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-02-22 22:29:53 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-02-22 22:29:53 +1300
commitc6155fcdebdcdd7cc25f1f91c73bb4f6dcca30c9 (patch)
tree23f66cd8ccebe9f0d59147e45ecca97b8080dab8 /test/org/traccar/protocol
parentd0388c562044e25998814724514f7af7df80b9ae (diff)
downloadtraccar-server-c6155fcdebdcdd7cc25f1f91c73bb4f6dcca30c9.tar.gz
traccar-server-c6155fcdebdcdd7cc25f1f91c73bb4f6dcca30c9.tar.bz2
traccar-server-c6155fcdebdcdd7cc25f1f91c73bb4f6dcca30c9.zip
Add TK103 unit test case
Diffstat (limited to 'test/org/traccar/protocol')
-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 3f4e12940..e6ca3f218 100644
--- a/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class Tk103ProtocolDecoderTest extends ProtocolTest {
Tk103ProtocolDecoder decoder = new Tk103ProtocolDecoder(new Tk103Protocol());
verifyPosition(decoder, text(
+ "(087073803649BR00170221A6142.0334N02712.2197E000.3203149000.00,00000000L00000000)"));
+
+ verifyPosition(decoder, text(
"(864768010869060,DW30,050117,A,5135.82713N,00001.17918E,0.089,154745,000.0,43.40,12)"));
verifyNotNull(decoder, text(