aboutsummaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-06-24 22:51:12 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-06-24 22:51:12 -0700
commitfb78c6a42f7e947b818044461414ef2470fc22f6 (patch)
tree4d1ae26732237feae87e45d8ea91b22050410c55 /src/test/java
parentae09c5920d0a89c1243cea81abe300272994ff6b (diff)
downloadtrackermap-server-fb78c6a42f7e947b818044461414ef2470fc22f6.tar.gz
trackermap-server-fb78c6a42f7e947b818044461414ef2470fc22f6.tar.bz2
trackermap-server-fb78c6a42f7e947b818044461414ef2470fc22f6.zip
Decode GPS Sky China alarms
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java
index f27a3e0c7..48a72447c 100644
--- a/src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java
@@ -11,6 +11,10 @@ public class Tk103ProtocolDecoderTest extends ProtocolTest {
Tk103ProtocolDecoder decoder = new Tk103ProtocolDecoder(null);
+ verifyAttribute(decoder, text(
+ "(044027395704BQ81,ALARM,1,164,151101A2238.5237N11349.4571E0.7031241010.0000,00000000)"),
+ Position.KEY_ALARM, Position.ALARM_OVERSPEED);
+
verifyPosition(decoder, text(
"(027023361470BR00200617A4000.5775N 8415.4076W 46.0173725 87.3101000000L00000000)"));