diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-07-17 10:48:08 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-07-17 10:48:08 +1200 |
commit | 9b4b52b42d9b6537e2e526ebdb93fe036475c9cb (patch) | |
tree | 171fbc0d54ef9c963c13fc0a7a53865000d1ff5e /test | |
parent | 051ef2354038f1bf15d254c5d7630131a4ff37c2 (diff) | |
download | trackermap-server-9b4b52b42d9b6537e2e526ebdb93fe036475c9cb.tar.gz trackermap-server-9b4b52b42d9b6537e2e526ebdb93fe036475c9cb.tar.bz2 trackermap-server-9b4b52b42d9b6537e2e526ebdb93fe036475c9cb.zip |
Correct GPS Marker decoder
Diffstat (limited to 'test')
-rw-r--r-- | test/org/traccar/protocol/GpsMarkerProtocolDecoderTest.java | 7 |
1 files changed, 7 insertions, 0 deletions
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#")); |