aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-11-18 03:53:09 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-11-18 03:53:09 +1300
commitf04881e56938315867a97db2027d58f27f7a20fd (patch)
tree44409c93534cdc2f8000ce2b7ee90b8e90be7ef5 /test
parent5efc8a36b7b9f88552e70e4bded314e1b7d1e292 (diff)
downloadtraccar-server-f04881e56938315867a97db2027d58f27f7a20fd.tar.gz
traccar-server-f04881e56938315867a97db2027d58f27f7a20fd.tar.bz2
traccar-server-f04881e56938315867a97db2027d58f27f7a20fd.zip
Add TK103 OBD test cases
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/Tk103ProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java b/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java
index ba820f2f6..4c6f0e004 100644
--- a/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java
@@ -10,6 +10,12 @@ public class Tk103ProtocolDecoderTest extends ProtocolTest {
Tk103ProtocolDecoder decoder = new Tk103ProtocolDecoder(new Tk103Protocol());
+ verifyNothing(decoder, text(
+ "(027028258309BQ86,0,05550c21b10d1d0f431008bd114c0ea5078400010007a100423932,161117005322,01000001)"));
+
+ verifyNothing(decoder, text(
+ "(027028258309BQ86,0,05470c0eb20d040f4410022911360e92077e00010007a1004237c7,161117005232,01000001)"));
+
verifyPosition(decoder, text(
"(01602009983BR00160830V1855.7022S4817.8731W000.0002729000.0010000000L00000000)"));