aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-28 15:43:25 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-28 15:43:25 +1300
commit4610c2245dea9178ff46e7eea63b9fffd99f852d (patch)
tree84f4da60d273b84932d9483272415886793a62d6 /test
parent1b31eda6bfa623dd866de5139b001caca8d69e54 (diff)
downloadtraccar-server-4610c2245dea9178ff46e7eea63b9fffd99f852d.tar.gz
traccar-server-4610c2245dea9178ff46e7eea63b9fffd99f852d.tar.bz2
traccar-server-4610c2245dea9178ff46e7eea63b9fffd99f852d.zip
Refactor Xirgo protocol decoder
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/XirgoProtocolDecoderTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/XirgoProtocolDecoderTest.java b/test/org/traccar/protocol/XirgoProtocolDecoderTest.java
index b7b2ace73..8bad0ff6a 100644
--- a/test/org/traccar/protocol/XirgoProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/XirgoProtocolDecoderTest.java
@@ -11,7 +11,8 @@ public class XirgoProtocolDecoderTest extends ProtocolDecoderTest {
XirgoProtocolDecoder decoder = new XirgoProtocolDecoder(new XirgoProtocol());
verifyPosition(decoder, text(
- "$$354660046140722,6001,2013/01/22,15:36:18,25.80907,-80.32531,7.1,19,165.2,11,0.8,11.1,17,1,1,3.9,2##"));
+ "$$354660046140722,6001,2013/01/22,15:36:18,25.80907,-80.32531,7.1,19,165.2,11,0.8,11.1,17,1,1,3.9,2##"),
+ position("2013-01-22 15:36:18.000", true, 25.80907, -80.32531));
verifyPosition(decoder, text(
"$$357207059646786,4003,2015/05/19,15:54:56,-20.21422,-70.14927,37.5,1.8,0.0,11,0.8,12.9,31,297,1,0,0.0,0.0,0,1,1,1##"));