From 79a129dd6327d932133d6b9a50190d3f4927bff9 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 29 Mar 2019 21:40:50 -0700 Subject: Additional A7W alarm --- test/org/traccar/protocol/Gt06ProtocolDecoderTest.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/org/traccar/protocol') 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")); -- cgit v1.2.3