diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-28 15:43:25 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-28 15:43:25 +1300 |
commit | 4610c2245dea9178ff46e7eea63b9fffd99f852d (patch) | |
tree | 84f4da60d273b84932d9483272415886793a62d6 /test/org | |
parent | 1b31eda6bfa623dd866de5139b001caca8d69e54 (diff) | |
download | trackermap-server-4610c2245dea9178ff46e7eea63b9fffd99f852d.tar.gz trackermap-server-4610c2245dea9178ff46e7eea63b9fffd99f852d.tar.bz2 trackermap-server-4610c2245dea9178ff46e7eea63b9fffd99f852d.zip |
Refactor Xirgo protocol decoder
Diffstat (limited to 'test/org')
-rw-r--r-- | test/org/traccar/protocol/XirgoProtocolDecoderTest.java | 3 |
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##")); |