From f5d652837a1f8ecc80861e606840baca4a05d6b1 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 7 May 2015 07:41:11 +1200 Subject: Add extra GPS103 test case --- test/org/traccar/protocol/Gps103ProtocolDecoderTest.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java index 71e2194bd..c4cb4fd49 100644 --- a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java @@ -1,9 +1,8 @@ package org.traccar.protocol; -import org.traccar.helper.TestDataManager; -import static org.traccar.helper.DecoderVerifier.verify; import static org.junit.Assert.assertNull; import org.junit.Test; +import static org.traccar.helper.DecoderVerifier.verify; public class Gps103ProtocolDecoderTest extends ProtocolDecoderTest { @@ -118,6 +117,9 @@ public class Gps103ProtocolDecoderTest extends ProtocolDecoderTest { verify(decoder.decode(null, null, null, "imei:353552045403597,tracker,150420051153,53.0,F,0.0,A,5306.64155,N,00700.77848,E,0.0,,1.0,;")); + + verify(decoder.decode(null, null, null, + "imei:359710047424644,tracker,150506224036,,F,154037.000,A,0335.2785,N,09841.1543,E,3.03,337.54,,0,0,45.16%,,;")); } -- cgit v1.2.3