aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-06-27 23:43:28 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-06-27 23:43:53 +1200
commit4ff644839b6f2ae815421d404f2b7cd5ace2c92c (patch)
tree4c32680670f04c0180ed464425b3b7eb989b0b14 /test
parentd15edaf38717fae7ad482e73c9fcda66da8756a4 (diff)
downloadtrackermap-server-4ff644839b6f2ae815421d404f2b7cd5ace2c92c.tar.gz
trackermap-server-4ff644839b6f2ae815421d404f2b7cd5ace2c92c.tar.bz2
trackermap-server-4ff644839b6f2ae815421d404f2b7cd5ace2c92c.zip
Add more alarms for TK103 protocol
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 e1b8d969e..4d872b082 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());
+ verifyPosition(decoder, text(
+ "(864768011069660,ZC11,250517,V,0000.0000N,00000.0000E,000.0,114725,000.0,0.00,11)"));
+
+ verifyPosition(decoder, text(
+ "(864768011069660,ZC17,250517,A,3211.7118N,03452.8086E,0.68,115525,208.19,64.50,9)"));
+
verifyNull(decoder, text(
"(357593060760397BP02,G,2,170304A6015.7466N01101.8460E001.609445591.048,7)"));