aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-25 21:09:54 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-25 21:09:54 +1300
commit45238711e70e6aa19d1d3c52bd93437b56c6e7cf (patch)
treeb17baff19a4e3f998974fac1d6a59fb887bece67 /test/org
parentdb08f36b51f7f51e901cc778a79ba8949c1d6d08 (diff)
downloadtrackermap-server-45238711e70e6aa19d1d3c52bd93437b56c6e7cf.tar.gz
trackermap-server-45238711e70e6aa19d1d3c52bd93437b56c6e7cf.tar.bz2
trackermap-server-45238711e70e6aa19d1d3c52bd93437b56c6e7cf.zip
Refactor XT013 protocol decoder
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/Xt013ProtocolDecoderTest.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/org/traccar/protocol/Xt013ProtocolDecoderTest.java b/test/org/traccar/protocol/Xt013ProtocolDecoderTest.java
index aafd597ac..569f2b8f2 100644
--- a/test/org/traccar/protocol/Xt013ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Xt013ProtocolDecoderTest.java
@@ -11,8 +11,9 @@ public class Xt013ProtocolDecoderTest extends ProtocolDecoderTest {
Xt013ProtocolDecoder decoder = new Xt013ProtocolDecoder(new Xt013Protocol());
verifyPosition(decoder, text(
- "TK,862950021650364,150131090859,+53.267863,+5.767363,0,38,12,0,F,204,08,C94,336C,24,,4.09,1,,,,,,,,"));
-
+ "TK,862950021650364,150131090859,+53.267863,+5.767363,0,38,12,0,F,204,08,C94,336C,24,,4.09,1,,,,,,,,"),
+ position("2015-01-31 09:08:59.000", true, 53.26786, 5.76736));
+
verifyPosition(decoder, text(
"TK,862950021650364,150118113832,+53.267722,+5.767143,0,86,12,0,F,204,08,C94,336C,22,,4.21,1,,,,,,,,"));