aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/GoSafeProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-29 15:09:52 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-29 15:09:52 +1300
commit0d65586e0011f44d7597a0e332a0a1b83276607c (patch)
tree499ff94d48578eacf63451426f5d2380c32fa938 /test/org/traccar/protocol/GoSafeProtocolDecoderTest.java
parent9a72eea4bfe43dba9512cfef744d539d5f78ad49 (diff)
downloadtrackermap-server-0d65586e0011f44d7597a0e332a0a1b83276607c.tar.gz
trackermap-server-0d65586e0011f44d7597a0e332a0a1b83276607c.tar.bz2
trackermap-server-0d65586e0011f44d7597a0e332a0a1b83276607c.zip
Fix a problem in GoSafe decoder
Diffstat (limited to 'test/org/traccar/protocol/GoSafeProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/GoSafeProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/GoSafeProtocolDecoderTest.java b/test/org/traccar/protocol/GoSafeProtocolDecoderTest.java
index d5e2213c4..9f1d82b8c 100644
--- a/test/org/traccar/protocol/GoSafeProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/GoSafeProtocolDecoderTest.java
@@ -10,6 +10,9 @@ public class GoSafeProtocolDecoderTest extends ProtocolDecoderTest {
GoSafeProtocolDecoder decoder = new GoSafeProtocolDecoder(new GoSafeProtocol());
+ verifyPositions(decoder, text(
+ "*GS16,351535059439208,083515281015,,GPS:A;9;N31.959502;E35.908316;;108;890;1.05;1.79,GSM:1;4;416;3;AF0;A3A6;-59;416;3;AF0;A3A3;-50;416;3;AF0;A3A4;-56;416;3;AF0;A3A5;-62;416;3;AF0;B195;-76,OBD:04410C194603410D2303411C0103410583037F011203411115"));
+
verifyNothing(decoder, text(
"*GS16,351535058709775"));