From 878b809b14cf6d247305194777ddeab0bc58c2c1 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 21 Jul 2020 07:19:49 -0700 Subject: Handle empty messages --- src/test/java/org/traccar/protocol/EasyTrackProtocolDecoderTest.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/test/java') diff --git a/src/test/java/org/traccar/protocol/EasyTrackProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/EasyTrackProtocolDecoderTest.java index c86e14db2..060483f5d 100644 --- a/src/test/java/org/traccar/protocol/EasyTrackProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/EasyTrackProtocolDecoderTest.java @@ -10,6 +10,9 @@ public class EasyTrackProtocolDecoderTest extends ProtocolTest { EasyTrackProtocolDecoder decoder = new EasyTrackProtocolDecoder(null); + verifyNull(decoder, text( + "*ET,358155100132943,MQ")); + verifyNull(decoder, text( "*ET,354522180045564,TX,V,14070E,122336")); -- cgit v1.2.3