aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-09-30 09:48:46 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-09-30 09:48:46 +1300
commitf49e20d0377f8b05c5a5653264f5359e1cc65747 (patch)
tree8db93a1ce1c81c9664d9fb789ff0bdc3383234f4 /test
parent455dd5a6505c3d075c5f5ee950e8f48ec7458e8c (diff)
downloadtrackermap-server-f49e20d0377f8b05c5a5653264f5359e1cc65747.tar.gz
trackermap-server-f49e20d0377f8b05c5a5653264f5359e1cc65747.tar.bz2
trackermap-server-f49e20d0377f8b05c5a5653264f5359e1cc65747.zip
Add Xirgo protocol test case
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/XirgoProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/XirgoProtocolDecoderTest.java b/test/org/traccar/protocol/XirgoProtocolDecoderTest.java
index 29648d024..775379c4e 100644
--- a/test/org/traccar/protocol/XirgoProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/XirgoProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class XirgoProtocolDecoderTest extends ProtocolDecoderTest {
XirgoProtocolDecoder decoder = new XirgoProtocolDecoder(new XirgoProtocol());
verify(decoder.decode(null, null,
+ "$$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##"));
+
+ verify(decoder.decode(null, null,
"$$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##"));
verify(decoder.decode(null, null,