aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-09-18 19:06:31 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-09-18 19:06:31 +1200
commite6e6afd89be2f64488e61cd4c1391c898e8f6cc3 (patch)
tree5b4d69f2abcc3cc20c4645ffbe278ec103065e2e /test
parenta3a1990d95b3162ecd404610d176e2cb0bccde3b (diff)
downloadtrackermap-server-e6e6afd89be2f64488e61cd4c1391c898e8f6cc3.tar.gz
trackermap-server-e6e6afd89be2f64488e61cd4c1391c898e8f6cc3.tar.bz2
trackermap-server-e6e6afd89be2f64488e61cd4c1391c898e8f6cc3.zip
Handle two digit longitude value
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/T55ProtocolDecoderTest.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/org/traccar/protocol/T55ProtocolDecoderTest.java b/test/org/traccar/protocol/T55ProtocolDecoderTest.java
index 2aa82f400..04c35aab7 100644
--- a/test/org/traccar/protocol/T55ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/T55ProtocolDecoderTest.java
@@ -1,9 +1,8 @@
package org.traccar.protocol;
-import org.traccar.helper.TestIdentityManager;
-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 T55ProtocolDecoderTest extends ProtocolDecoderTest {
@@ -19,6 +18,9 @@ public class T55ProtocolDecoderTest extends ProtocolDecoderTest {
assertNull(decoder.decode(null, null, "$PCPTI,CradlePoint Test,184453,184453.0,6F*57"));
assertNull(decoder.decode(null, null, "IMEI 351467108700000"));
+
+ verify(decoder.decode(null, null,
+ "$GPRMC,012006,A,4828.10,N,1353.52,E,0.00,0.00,180915,020.3,E*42"));
verify(decoder.decode(null, null,
"$GPRMC,094907.000,A,6000.5332,N,03020.5192,E,1.17,60.26,091111,,*33"));