diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-03-02 10:47:36 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-03-02 10:47:36 +1300 |
commit | f5d687b7adb86e259f7b1f3b04a48d625cf1ca5e (patch) | |
tree | eef1f44b391c1237eae0f5beb175b7c5188b7b98 /test/org/traccar/protocol/MeitrackProtocolDecoderTest.java | |
parent | ea5d08507fc82073bf198b2c3fffd90870d291d3 (diff) | |
download | trackermap-server-f5d687b7adb86e259f7b1f3b04a48d625cf1ca5e.tar.gz trackermap-server-f5d687b7adb86e259f7b1f3b04a48d625cf1ca5e.tar.bz2 trackermap-server-f5d687b7adb86e259f7b1f3b04a48d625cf1ca5e.zip |
Implement Meitrack photo request
Diffstat (limited to 'test/org/traccar/protocol/MeitrackProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/MeitrackProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/MeitrackProtocolDecoderTest.java b/test/org/traccar/protocol/MeitrackProtocolDecoderTest.java index dcefb1637..f74914461 100644 --- a/test/org/traccar/protocol/MeitrackProtocolDecoderTest.java +++ b/test/org/traccar/protocol/MeitrackProtocolDecoderTest.java @@ -11,6 +11,9 @@ public class MeitrackProtocolDecoderTest extends ProtocolTest { MeitrackProtocolDecoder decoder = new MeitrackProtocolDecoder(new MeitrackProtocol()); + verifyNothing(decoder, buffer( + "$$D28,353358017784062,D03,OK*F3")); + verifyPosition(decoder, buffer( "$$A158,79007001520234,AAA,35,40.996370,-8.575065,150730184834,A,8,24,0,1,1.3,173,32573389,31405012,268|3|2BC0|250B,2000,|||0A2D|0000,00000001,,50,,,,,,,,,,,,,*4A"), position("2015-07-30 18:48:34.000", true, 40.99637, -8.57507)); |