aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-01-23 10:09:58 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-01-23 10:09:58 +1300
commit2e24e0e311606d7b12b9e36f113dd218e54d67bb (patch)
tree5e8397d6b40c01989cc333fd9633f633da61fe84 /test/org
parent6ebe7202420731f51cd40f15879ce40bdd1926b6 (diff)
downloadtraccar-server-2e24e0e311606d7b12b9e36f113dd218e54d67bb.tar.gz
traccar-server-2e24e0e311606d7b12b9e36f113dd218e54d67bb.tar.bz2
traccar-server-2e24e0e311606d7b12b9e36f113dd218e54d67bb.zip
Use send time if earlier than GPS time
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/Gl200ProtocolDecoderTest.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
index cba40ddb7..61d38f7d1 100644
--- a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class Gl200ProtocolDecoderTest extends ProtocolTest {
Gl200ProtocolDecoder decoder = new Gl200ProtocolDecoder(new Gl200Protocol());
verifyPosition(decoder, text(
+ "+BUFF:GTFRI,060402,862894021808798,,,10,1,1,0.0,349,394.3,-63.287717,-17.662410,20160116234031,0736,0003,6ABA,8305,00,3326.8,,,,94,220100,,,,20160116194035,4D83"));
+
+ verifyPosition(decoder, text(
"+RESP:GTIDA,06020A,862170013895931,,,D2C4FBC5,1,1,1,0.8,0,22.2,117.198630,31.845229,20120802121626,0460,0000,5663,2BB9,00,0.0,,,,,20120802121627,008E$"));
verifyAttributes(decoder, text(
@@ -108,7 +111,7 @@ public class Gl200ProtocolDecoderTest extends ProtocolTest {
verifyPosition(decoder, text(
"+RESP:GTFRI,02010C,867844001274649,,0,0,1,1,0.0,0,122.5,7.684216,51.524512,20140106233722,0262,0007,79EE,1D22,,93,20140107003805,03C4$"));
-
+
verifyPosition(decoder, text(
"+BUFF:GTFRI,210101,863286020016706,,,10,1,1,,,,49.903915,40.391669,20140818105815,,,,,,,,,,,210100,,,,,000C$"));