diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-20 09:46:39 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-20 09:46:39 +1300 |
commit | 4c9466f694e48b69a14e9039bd9b8d717c3a3dc3 (patch) | |
tree | 8c772192c6355add2d8e97dd119feb77874243a1 /test/org/traccar/protocol/WatchProtocolDecoderTest.java | |
parent | 69270993f48c3ecb5d7b00e386fd67722448e8b5 (diff) | |
download | trackermap-server-4c9466f694e48b69a14e9039bd9b8d717c3a3dc3.tar.gz trackermap-server-4c9466f694e48b69a14e9039bd9b8d717c3a3dc3.tar.bz2 trackermap-server-4c9466f694e48b69a14e9039bd9b8d717c3a3dc3.zip |
Add support for TKQ messages
Diffstat (limited to 'test/org/traccar/protocol/WatchProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/WatchProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/WatchProtocolDecoderTest.java b/test/org/traccar/protocol/WatchProtocolDecoderTest.java index 41af104dd..16074d36f 100644 --- a/test/org/traccar/protocol/WatchProtocolDecoderTest.java +++ b/test/org/traccar/protocol/WatchProtocolDecoderTest.java @@ -10,6 +10,9 @@ public class WatchProtocolDecoderTest extends ProtocolDecoderTest { WatchProtocolDecoder decoder = new WatchProtocolDecoder(new WatchProtocol()); + verifyNothing(decoder, text( + "[3G*8800000015*0003*TKQ")); + verifyPosition(decoder, text( "[3G*4700186508*00B1*UD,301015,084840,V,45.853100,N,14.6224899,E,0.00,0.0,0.0,0,84,61,0,11,00000008,7,255,293,70,60,6453,139,60,6432,139,60,6431,132,60,6457,127,60,16353,126,60,6451,121,60,16352,118")); |