aboutsummaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-10-05 16:12:31 +0800
committerAnton Tananaev <anton@traccar.org>2023-10-05 16:12:31 +0800
commit91cfe0412753cadb47a0b892864469a2baf4fe31 (patch)
treea5138c5e80a81e48be6a7b074d188e23cf7c8edf /src/test/java
parentfa2a61f6487c9ad8a338cdacf18f15be9c299cfd (diff)
downloadtrackermap-server-91cfe0412753cadb47a0b892864469a2baf4fe31.tar.gz
trackermap-server-91cfe0412753cadb47a0b892864469a2baf4fe31.tar.bz2
trackermap-server-91cfe0412753cadb47a0b892864469a2baf4fe31.zip
Add another test case
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java4
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 d573957b3..8e60fb342 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(
+ "787826161709130f3a2dcc02c55f2a089f9af9005c210901360481fe066d9b03413e420102035f92fe0d0a"),
+ Position.KEY_ALARM, Position.ALARM_SOS);
+
+ verifyAttribute(decoder, binary(
"78782f221709130f3a32cc02c55f2a089f9afc005c2101360481fe066d9b03000000000025d4000000000020002d036049d70d0a"),
Position.PREFIX_TEMP + 1, 0.32);