From 5ac7a4595d6b9f56cf2f43c2a623ee5ffeee2228 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 16 Feb 2015 10:16:00 +1300 Subject: Improve GoSafe decoder (fix #1079) --- test/org/traccar/protocol/GoSafeProtocolDecoderTest.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test') 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")); -- cgit v1.2.3