aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-03-16 19:00:32 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2013-03-16 19:00:32 +1300
commit8db1cf2bc97f5f616bd5722656db2d69edd46d45 (patch)
tree011979a862c1ead66d1e8200da5c9d0d08afdf13 /test/org/traccar/protocol
parent7c8a732d577d6748b9223f720d2dde70f5ebfc41 (diff)
downloadtrackermap-server-8db1cf2bc97f5f616bd5722656db2d69edd46d45.tar.gz
trackermap-server-8db1cf2bc97f5f616bd5722656db2d69edd46d45.tar.bz2
trackermap-server-8db1cf2bc97f5f616bd5722656db2d69edd46d45.zip
Fix xexun protocol decoder (fix #170)
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r--test/org/traccar/protocol/XexunProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/XexunProtocolDecoderTest.java b/test/org/traccar/protocol/XexunProtocolDecoderTest.java
index fa32ed966..8a829c35b 100644
--- a/test/org/traccar/protocol/XexunProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/XexunProtocolDecoderTest.java
@@ -10,6 +10,9 @@ public class XexunProtocolDecoderTest {
XexunProtocolDecoder decoder = new XexunProtocolDecoder(null);
decoder.setDataManager(new TestDataManager());
+
+ assertNotNull(decoder.decode(null, null,
+ "GPRMC,043435.000,A,811.299200,S,11339.9500,E,0.93,29.52,160313,00,0000.0,A*65,F,,imei:359585014597923,"));
assertNotNull(decoder.decode(null, null,
"GPRMC,150120.000,A,3346.4463,S,15057.3083,E,0.0,117.4,010911,,,A*76,F,imei:351525010943661,"));