diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2019-10-11 04:47:17 +0900 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2019-10-11 04:47:17 +0900 |
commit | c38458e2fc88d06582393c0d384637a7cf05cdf4 (patch) | |
tree | f9cb569be084fddd87e53b20936b5734038d8ea4 /src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java | |
parent | 18efbd5b1bfd272387a97606e6b9f36d4e6da5ff (diff) | |
download | trackermap-server-c38458e2fc88d06582393c0d384637a7cf05cdf4.tar.gz trackermap-server-c38458e2fc88d06582393c0d384637a7cf05cdf4.tar.bz2 trackermap-server-c38458e2fc88d06582393c0d384637a7cf05cdf4.zip |
Add alarm test case
Diffstat (limited to 'src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java')
-rw-r--r-- | src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java index 5da713452..d31cac534 100644 --- a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java @@ -18,6 +18,10 @@ public class Gt06ProtocolDecoderTest extends ProtocolTest { "78780D01086471700328358100093F040D0A")); verifyAttribute(decoder, binary( + "78780c95130a071223200100013ad10d0a"), + Position.KEY_ALARM, Position.ALARM_GENERAL); + + verifyAttribute(decoder, binary( "797900a87000000001020035000101003300125d7e3a180600d504b598f708814b3a001d1500340006125d7e39dc000011000a012e02620000000000000001000803537601000129800002000803102608593397620003000a89012608522933976266001800020172002b000114002c00045d7df3c70009000106000a000109002800010d002e00040000f25d002a000111002900040000017e0030000a000100b4000a00b402d0000591250d0a"), Position.KEY_ALARM, Position.ALARM_REMOVING); |