diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-05-09 20:29:04 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-05-09 20:29:22 +1200 |
commit | 257fceb3d8d844bdd9edb5f38e90387ab856670a (patch) | |
tree | e1232d17f0dc15c56fa57f2ef3446f29436cb4b4 /test/org/traccar/protocol | |
parent | 144b7b5ee832b01dcc76185fd126fbfee970e1a2 (diff) | |
download | traccar-server-257fceb3d8d844bdd9edb5f38e90387ab856670a.tar.gz traccar-server-257fceb3d8d844bdd9edb5f38e90387ab856670a.tar.bz2 traccar-server-257fceb3d8d844bdd9edb5f38e90387ab856670a.zip |
Add yuwei yw3000-y unit test
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r-- | test/org/traccar/protocol/YwtProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/YwtProtocolDecoderTest.java b/test/org/traccar/protocol/YwtProtocolDecoderTest.java index 96031d510..bc91efa16 100644 --- a/test/org/traccar/protocol/YwtProtocolDecoderTest.java +++ b/test/org/traccar/protocol/YwtProtocolDecoderTest.java @@ -9,6 +9,9 @@ public class YwtProtocolDecoderTest extends ProtocolTest { public void testDecode() throws Exception { YwtProtocolDecoder decoder = new YwtProtocolDecoder(new YwtProtocol()); + + verifyPosition(decoder, text( + "%RP,1222102985:1,170509033842,E102.146563,N14.582175,,0,320,10,0,00-00-00-00-00-00-00-00-00-00-00-00,,1db2-02b3-52004,3>941.523-32,7>1,19>-16,20>30.9V")); verifyNull(decoder, text( "%SN,0417061042:0,0,140117041203,404")); |