From 841612ab1112dddfb1f3cb23e879381cce32de61 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 2 Jul 2021 17:05:07 -0700 Subject: Add failing test --- src/test/java/org/traccar/protocol/StartekProtocolDecoderTest.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/test/java/org/traccar/protocol/StartekProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/StartekProtocolDecoderTest.java index 802d65ab9..b4c3cd285 100644 --- a/src/test/java/org/traccar/protocol/StartekProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/StartekProtocolDecoderTest.java @@ -11,6 +11,9 @@ public class StartekProtocolDecoderTest extends ProtocolTest { var decoder = new StartekProtocolDecoder(null); + verifyNull(decoder, text( + "&&o125,861157040554384,000,0,,210702235150,A,27.263505,153.037061,11,1.2,0,0,31,5125,505|1|7032|8C89802,20,0000002D,00,00,01E2|019DF0")); + verifyAttribute(decoder, text( "&&a152,860262050010565,000,53,8F5300,210528015706,A,-38.229746,145.043446,6,1.5,0,285,84,2102994,505|1|306E|082D6101,31,0000003D,02,02,04C0|01A0|0000|0000,1,,DC"), Position.KEY_DRIVER_UNIQUE_ID, "8F5300"); -- cgit v1.2.3