aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-06 10:12:44 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-06 10:12:44 +1300
commit04a40e1cfb9484f3ab25a3390249355bc3e711ae (patch)
tree9284877fcfec2303f6ccdd059542d4f539403aad /test
parent8d178a2e33b18b2b236a305b03663c6777679c3b (diff)
downloadtrackermap-server-04a40e1cfb9484f3ab25a3390249355bc3e711ae.tar.gz
trackermap-server-04a40e1cfb9484f3ab25a3390249355bc3e711ae.tar.bz2
trackermap-server-04a40e1cfb9484f3ab25a3390249355bc3e711ae.zip
Refactor GL100 protocol decoder
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/Gl100ProtocolDecoderTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/Gl100ProtocolDecoderTest.java b/test/org/traccar/protocol/Gl100ProtocolDecoderTest.java
index 52c331f13..f9fccd187 100644
--- a/test/org/traccar/protocol/Gl100ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gl100ProtocolDecoderTest.java
@@ -15,7 +15,8 @@ public class Gl100ProtocolDecoderTest extends ProtocolDecoderTest {
"AT+GTHBD=HeartBeat,359231030000010,20090101000000,11F0,0102120204"));
verifyPosition(decoder, text(
- "+RESP:GTSOS,359231030000010,0,0,0,1,4.3,92,70.0,1,121.354335,31.222073,20090101000000,0460,0000,18d8,6141,00,11F0,0102120204"));
+ "+RESP:GTSOS,359231030000010,0,0,0,1,4.3,92,70.0,1,121.354335,31.222073,20090101000000,0460,0000,18d8,6141,00,11F0,0102120204"),
+ position("2009-01-01 00:00:00.000", false, 31.22207, 121.35434));
verifyPosition(decoder, text(
"+RESP:GTRTL,359231030000010,0,0,0,1,4.3,92,70.0,1,121.354335,31.222073,20090101000000,0460,0000,18d8,6141,00,11F0,0102120204"));