diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-01-06 06:47:02 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-01-06 05:47:02 +1300 |
commit | ab10f2747b2465ce77aec454a6c4846d0f75eb0b (patch) | |
tree | 50e334d73d9739f328875e8505fd3944c0de2f68 /test/org/traccar | |
parent | 0f2abec8fcc2191be446d49c8b54d5a0e5e1a282 (diff) | |
download | trackermap-server-ab10f2747b2465ce77aec454a6c4846d0f75eb0b.tar.gz trackermap-server-ab10f2747b2465ce77aec454a6c4846d0f75eb0b.tar.bz2 trackermap-server-ab10f2747b2465ce77aec454a6c4846d0f75eb0b.zip |
Add Wtach protocol test case
Diffstat (limited to 'test/org/traccar')
-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 25d4f7cc2..24d6c0795 100644 --- a/test/org/traccar/protocol/WatchProtocolDecoderTest.java +++ b/test/org/traccar/protocol/WatchProtocolDecoderTest.java @@ -11,6 +11,9 @@ public class WatchProtocolDecoderTest extends ProtocolTest { WatchProtocolDecoder decoder = new WatchProtocolDecoder(new WatchProtocol()); verifyPosition(decoder, text( + "[SG*9051000884*009B*UD,030117,161129,V,52.745450,N,0.369512,,0.1481,000,99,00,70,5,0,50,00000000,5,1,234,15,893,3611,135,893,3612,132,893,3993,131,893,30986,129,893,40088,126,,00]")); + + verifyPosition(decoder, text( "[3G*6430073509*00E7*UD2,241016,081622,V,09.951861,N,-84.1422119,W,0.00,0.0,0.0,0,39,94,0,0,00000000,1,0,712,3,2007,18961,123,4,Luz,00:23:6a:34:ee:76,-70,familia,b0:c5:54:b9:90:ef,-78,fam salas delgado,fc:b4:e6:5d:50:ea,-81,QWERTY,c8:3a:35:43:0f:e8,-93")); verifyPosition(decoder, text( |