aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-07-21 07:19:49 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-07-21 07:19:49 -0700
commit878b809b14cf6d247305194777ddeab0bc58c2c1 (patch)
tree357be2147e2517dfd3d374df1914914b3e493647 /src/test/java/org/traccar/protocol
parente8741d7ddc28b9c2db3865129368f0a8eaa6b032 (diff)
downloadtrackermap-server-878b809b14cf6d247305194777ddeab0bc58c2c1.tar.gz
trackermap-server-878b809b14cf6d247305194777ddeab0bc58c2c1.tar.bz2
trackermap-server-878b809b14cf6d247305194777ddeab0bc58c2c1.zip
Handle empty messages
Diffstat (limited to 'src/test/java/org/traccar/protocol')
-rw-r--r--src/test/java/org/traccar/protocol/EasyTrackProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
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
@@ -11,6 +11,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"));
verifyPosition(decoder, text(