aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-05-07 07:41:11 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-05-07 07:41:11 +1200
commitf5d652837a1f8ecc80861e606840baca4a05d6b1 (patch)
tree2025a8387120316c7726697c1551797b85fe8023 /test
parentf119326f307635dddc6306d4f5a4e349e808b48a (diff)
downloadtrackermap-server-f5d652837a1f8ecc80861e606840baca4a05d6b1.tar.gz
trackermap-server-f5d652837a1f8ecc80861e606840baca4a05d6b1.tar.bz2
trackermap-server-f5d652837a1f8ecc80861e606840baca4a05d6b1.zip
Add extra GPS103 test case
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/Gps103ProtocolDecoderTest.java6
1 files changed, 4 insertions, 2 deletions
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%,,;"));
}