aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2014-01-19 14:32:30 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2014-01-19 14:32:30 +1300
commitcf58cb80662af0a14f5e9bbb1faaa8915ae23244 (patch)
tree04dc04cba9e3858c04bfc5e6763188505c000f6d /test/org
parentba4af96c2b771e3984887de0a4d2d7338aed1270 (diff)
downloadtrackermap-server-cf58cb80662af0a14f5e9bbb1faaa8915ae23244.tar.gz
trackermap-server-cf58cb80662af0a14f5e9bbb1faaa8915ae23244.tar.bz2
trackermap-server-cf58cb80662af0a14f5e9bbb1faaa8915ae23244.zip
Add YWT sync response
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/YwtProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
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"));