diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-11-08 16:19:28 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-11-08 16:19:28 -0800 |
commit | 5b3ee0a9666a9c7fe3b3c04d1fe637b7d7b935da (patch) | |
tree | a2436d0de4a92cd18a7aeffcaa363cfe4e0815a8 /src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java | |
parent | 9f8505ebf73bba5e329fc5467fe00e43f989fd0d (diff) | |
download | trackermap-server-5b3ee0a9666a9c7fe3b3c04d1fe637b7d7b935da.tar.gz trackermap-server-5b3ee0a9666a9c7fe3b3c04d1fe637b7d7b935da.tar.bz2 trackermap-server-5b3ee0a9666a9c7fe3b3c04d1fe637b7d7b935da.zip |
Handle empty serial messages
Diffstat (limited to 'src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java')
-rw-r--r-- | src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java index e6b7b7ce3..d63dc2d9a 100644 --- a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java @@ -17,6 +17,9 @@ public class Gt06ProtocolDecoderTest extends ProtocolTest { verifyNull(decoder, binary( "78780D01086471700328358100093F040D0A")); + verifyNull(decoder, binary( + "797900099b0380d600046f91e90d0a")); + verifyAttribute(decoder, binary( "7979000E9B0332382E33A1E60D0A0289BE490D0A"), Position.PREFIX_TEMP + 1, 28.3); |