aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-03-18 17:02:42 -0700
committerAnton Tananaev <anton@traccar.org>2022-03-18 17:02:42 -0700
commitb0b9cdb254eb5031c744be1029d87aaf2802b674 (patch)
tree368e62a82509932312cbbfd00c59b422924f3e8b /src/test/java/org/traccar
parent143a51790b613831e455d49299098d97aff34bfa (diff)
downloadtrackermap-server-b0b9cdb254eb5031c744be1029d87aaf2802b674.tar.gz
trackermap-server-b0b9cdb254eb5031c744be1029d87aaf2802b674.tar.bz2
trackermap-server-b0b9cdb254eb5031c744be1029d87aaf2802b674.zip
Handle heartbeat messages (fix #4824)
Diffstat (limited to 'src/test/java/org/traccar')
-rw-r--r--src/test/java/org/traccar/protocol/NavtelecomFrameDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/NavtelecomFrameDecoderTest.java b/src/test/java/org/traccar/protocol/NavtelecomFrameDecoderTest.java
index 07b19651b..562b220d4 100644
--- a/src/test/java/org/traccar/protocol/NavtelecomFrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/NavtelecomFrameDecoderTest.java
@@ -19,6 +19,9 @@ public class NavtelecomFrameDecoderTest extends ProtocolTest {
binary("404e544301000000000000002a005e6c2a3e464c4558b01e1efffffe300a08080ffffe08000000580028002bc0000000000000b4000000000000"),
decoder.decode(null, null, binary("404e544301000000000000002a005e6c2a3e464c4558b01e1efffffe300a08080ffffe08000000580028002bc0000000000000b4000000000000")));
+ verifyNull(
+ decoder.decode(null, null, binary("7f")));
+
}
@Ignore