aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-03-29 21:40:50 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-03-29 21:40:50 -0700
commit79a129dd6327d932133d6b9a50190d3f4927bff9 (patch)
treef983b7cbea59f317bc98087def3f2240c9afd76f /test/org/traccar
parent12ac2cf773b6fa621b48dc6177d8245e038a8918 (diff)
downloadtrackermap-server-79a129dd6327d932133d6b9a50190d3f4927bff9.tar.gz
trackermap-server-79a129dd6327d932133d6b9a50190d3f4927bff9.tar.bz2
trackermap-server-79a129dd6327d932133d6b9a50190d3f4927bff9.zip
Additional A7W alarm
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/Gt06ProtocolDecoderTest.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java b/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java
index 56bb58921..a6008e682 100644
--- a/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java
@@ -2,6 +2,7 @@ package org.traccar.protocol;
import org.junit.Test;
import org.traccar.ProtocolTest;
+import org.traccar.model.Position;
public class Gt06ProtocolDecoderTest extends ProtocolTest {
@@ -19,6 +20,10 @@ public class Gt06ProtocolDecoderTest extends ProtocolTest {
verifyPosition(decoder, binary(
"787821121303120b2524c70138e363085b549003d43301940057d200cd52c000006aa1ca0d0a"));
+ verifyAttribute(decoder, binary(
+ "7878251613020C12141AC5027951430C2A16F60014000900000000001A00007C550300020002F1E70D0A"),
+ Position.KEY_ALARM, Position.ALARM_REMOVING);
+
verifyNotNull(decoder, binary(
"7878006919012105090303028f01007549e05a00bc9c5c5a007a8d1a5a0d0a"));