aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-08-16 13:48:07 +0300
committerGitHub <noreply@github.com>2016-08-16 13:48:07 +0300
commit376bd7a7342ed46f20b7c0c94d7c9b0074ae99f3 (patch)
tree3e1336a0597ca649f54e2b271a96df4b37273c9b /test
parent70bea1304ded17bb8a94ce8495d1e395e7cdf748 (diff)
parent96f0143b2cbbb93f1c325e1df7c66a2fc3d55b7e (diff)
downloadtrackermap-server-376bd7a7342ed46f20b7c0c94d7c9b0074ae99f3.tar.gz
trackermap-server-376bd7a7342ed46f20b7c0c94d7c9b0074ae99f3.tar.bz2
trackermap-server-376bd7a7342ed46f20b7c0c94d7c9b0074ae99f3.zip
Merge pull request #2219 from Abyss777/alarms_2
Alarm decoding for next protocols
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/Gt06ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java b/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java
index 3343f72e2..8b6b65b8c 100644
--- a/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java
@@ -43,6 +43,9 @@ public class Gt06ProtocolDecoderTest extends ProtocolTest {
verifyAttributes(decoder, binary(
"78780a13440604000201baaf540d0a"));
+ verifyAttributes(decoder, binary(
+ "787825160F0C1D0A2B21C8027AC8040C46581000146F0901CC00287D001F714804040301001C84CF0D0A"));
+
verifyPosition(decoder, binary(
"78781f120f0a140e150bc505e51e780293a9e800540000f601006e0055da00035f240d0a"),
position("2015-10-20 14:21:11.000", true, 54.94535, 24.01762));