From cf58cb80662af0a14f5e9bbb1faaa8915ae23244 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 19 Jan 2014 14:32:30 +1300 Subject: Add YWT sync response --- test/org/traccar/protocol/YwtProtocolDecoderTest.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/org/traccar') diff --git a/test/org/traccar/protocol/YwtProtocolDecoderTest.java b/test/org/traccar/protocol/YwtProtocolDecoderTest.java index 1ed6ad61c..3f757c9d7 100644 --- a/test/org/traccar/protocol/YwtProtocolDecoderTest.java +++ b/test/org/traccar/protocol/YwtProtocolDecoderTest.java @@ -12,6 +12,9 @@ public class YwtProtocolDecoderTest { YwtProtocolDecoder decoder = new YwtProtocolDecoder(null); decoder.setDataManager(new TestDataManager()); + + assertNull(decoder.decode(null, null, + "%SN,0417061042:0,0,140117041203,404")); verify(decoder.decode(null, null, "%GP,3000012345:0,090723182813,E114.602345,N22.069725,,30,160,4,0,00,,2794-10FF-46000,3>0-0")); -- cgit v1.2.3