aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-04-26 17:06:43 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-04-26 17:07:00 +1200
commit1f3185d8a06f5d8cd3c05c15cbb7abbbfa81af37 (patch)
treef45f77fc14943215dd6112bf10decd7e5cb90ee9 /test/org/traccar
parent1669e9c453f6bf2add655bbb2cf48b68bbbfb503 (diff)
downloadtraccar-server-1f3185d8a06f5d8cd3c05c15cbb7abbbfa81af37.tar.gz
traccar-server-1f3185d8a06f5d8cd3c05c15cbb7abbbfa81af37.tar.bz2
traccar-server-1f3185d8a06f5d8cd3c05c15cbb7abbbfa81af37.zip
Implement additional Xirgo attributes
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/XirgoProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/XirgoProtocolDecoderTest.java b/test/org/traccar/protocol/XirgoProtocolDecoderTest.java
index 82076d7eb..cf046c42f 100644
--- a/test/org/traccar/protocol/XirgoProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/XirgoProtocolDecoderTest.java
@@ -11,6 +11,12 @@ public class XirgoProtocolDecoderTest extends ProtocolTest {
XirgoProtocolDecoder decoder = new XirgoProtocolDecoder(new XirgoProtocol());
verifyPosition(decoder, text(
+ "$$352054058132185,4001,2017/04/21,00:01:05,32.54659,-116.90670,143.2,0,0,0,598,0.0,12,0.9,765840,7.0,14.5,19,1,1,0011,8.5,63.2,5,21999,184,255,671,207,100,185##"));
+
+ verifyPosition(decoder, text(
+ "$$352054058132185,6011,2017/04/21,04:57:10,32.49658,-116.85957,250.9,0,0,0,602,0.0,12,0.8,765876,7.0,14.1,21,1,1,0011,10.1,0.0,5,170917890,280,255,627,0,100,167##"));
+
+ verifyPosition(decoder, text(
"$$355922061611345,6001,2016/08/25,20:10:51,51.13042,-114.22752,1197,44.7,0.0,0.0,2622,27,12,0.8,1,0.0,13.9,24,1,0,0.0,-70,-809,688##"));
verifyPosition(decoder, text(