aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-08-20 09:34:24 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-08-20 09:34:24 +1200
commitaa6c631a0184405b5e67ed6183acbf4c4a6b9536 (patch)
tree85866af3739fa463ed0a467ca1ba5f430aa49b0e /test/org
parent128f4be3a22ec1ea9a296be05f67ce20fbdd99d0 (diff)
downloadtrackermap-server-aa6c631a0184405b5e67ed6183acbf4c4a6b9536.tar.gz
trackermap-server-aa6c631a0184405b5e67ed6183acbf4c4a6b9536.tar.bz2
trackermap-server-aa6c631a0184405b5e67ed6183acbf4c4a6b9536.zip
Add Watch test case
Diffstat (limited to 'test/org')
-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 23e1e35fb..ef77857a3 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, buffer(
+ "[SG*9051007430*006C*UD,150817,132115,V,28.435142,N,81.354333,W,2.2038,000,99,00,70,100,0,50,00000000,1,1,310,260,1091,30082,139,,00]"));
+
+ verifyPosition(decoder, buffer(
"[3G*6005412902*011F*WT,170517,133811,V,18.512200,N,73.7750283,E,0.00,0.0,0.0,0,92,82,4262,0,00000010,2,1,404,22,10125,8301,141,10125,13921,122,5,Skynet,28:c6:8e:be:87:c0,-60,Intel Wi-Fi,4c:60:de:32:3d:38,-70,Nirvanic-2,40:e3:d6:4a:d9:c2,-73,A4-Guest,40:e3:d6:4a:d9:c4,-73,A4Idatix,40:e3:d6:4a:d9:c3,-73,13.8]"));
verifyPosition(decoder, buffer(