aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/WatchProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-01-16 05:48:58 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-01-16 04:48:58 +1300
commit0885b4c200600ff320af9a77eacda5fc4d63c795 (patch)
treeab25be44802d13f8c111071f13821447caaea5a1 /test/org/traccar/protocol/WatchProtocolDecoderTest.java
parent671010ae5e270c58ffbae611e5580d3971133070 (diff)
downloadtrackermap-server-0885b4c200600ff320af9a77eacda5fc4d63c795.tar.gz
trackermap-server-0885b4c200600ff320af9a77eacda5fc4d63c795.tar.bz2
trackermap-server-0885b4c200600ff320af9a77eacda5fc4d63c795.zip
Add Watch protocol test case
Diffstat (limited to 'test/org/traccar/protocol/WatchProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/WatchProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/WatchProtocolDecoderTest.java b/test/org/traccar/protocol/WatchProtocolDecoderTest.java
index 24d6c0795..653fc3ebc 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*9051004074*0058*AL,120117,145602,V,40.058413,N,76.336618,W,11.519,188,99,00,01,80,0,50,00000000,0,1,0,0,,10]"));
+
+ 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(