aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-02-16 10:16:00 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-02-16 10:16:00 +1300
commit5ac7a4595d6b9f56cf2f43c2a623ee5ffeee2228 (patch)
tree13a8a50685da3b35a1fda5f631315e4ab3b23f51 /test/org/traccar
parent9f929e8ab59ac4512c695f22fb1f7dc66349c84a (diff)
downloadtrackermap-server-5ac7a4595d6b9f56cf2f43c2a623ee5ffeee2228.tar.gz
trackermap-server-5ac7a4595d6b9f56cf2f43c2a623ee5ffeee2228.tar.bz2
trackermap-server-5ac7a4595d6b9f56cf2f43c2a623ee5ffeee2228.zip
Improve GoSafe decoder (fix #1079)
Diffstat (limited to 'test/org/traccar')
-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 604fe55ab..08f4a4fb6 100644
--- a/test/org/traccar/protocol/GoSafeProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/GoSafeProtocolDecoderTest.java
@@ -12,6 +12,9 @@ public class GoSafeProtocolDecoderTest {
GoSafeProtocolDecoder decoder = new GoSafeProtocolDecoder(new TestDataManager(), null, null);
+ assertNull(decoder.decode(null, null, null,
+ "*GS16,351535058709775"));
+
verify(decoder.decode(null, null, null,
"*GS16,351535058709775,100356130215,,SYS:G79W;V1.06;V1.0.2,GPS:A;6;N24.802700;E46.616828;0;0;684;1.35,COT:60,ADC:4.31;0.10,DTT:20000;;0;0;0;1"));