From 9b4b52b42d9b6537e2e526ebdb93fe036475c9cb Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 17 Jul 2015 10:48:08 +1200 Subject: Correct GPS Marker decoder --- test/org/traccar/protocol/GpsMarkerProtocolDecoderTest.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/org') diff --git a/test/org/traccar/protocol/GpsMarkerProtocolDecoderTest.java b/test/org/traccar/protocol/GpsMarkerProtocolDecoderTest.java index eb3ccfdb7..6e3ef6c8a 100644 --- a/test/org/traccar/protocol/GpsMarkerProtocolDecoderTest.java +++ b/test/org/traccar/protocol/GpsMarkerProtocolDecoderTest.java @@ -12,6 +12,13 @@ public class GpsMarkerProtocolDecoderTest extends ProtocolDecoderTest { GpsMarkerProtocolDecoder decoder = new GpsMarkerProtocolDecoder(new GpsMarkerProtocol()); + + assertNull(decoder.decode(null, null, + "$GM300350123456789012T100511123300G25000001772F185200000000000000005230298#")); + + verify(decoder.decode(null, null, + "$GM200350123456789012T100511123300N55516789E03756123400000035230298#")); + verify(decoder.decode(null, null, "$GM1350123456789012T1005111233N55516789E03756123400000035200298#")); -- cgit v1.2.3