aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-04-06 02:48:02 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-04-06 02:48:02 +1200
commita0f83250c58b7d10b345370438d7b1923499294c (patch)
tree8ebaefb9931554ffa3fb17242ba1b840fe8bbc99
parentdfcfcf741e8a8365f026916fc8c99596557cd29a (diff)
downloadtraccar-server-a0f83250c58b7d10b345370438d7b1923499294c.tar.gz
traccar-server-a0f83250c58b7d10b345370438d7b1923499294c.tar.bz2
traccar-server-a0f83250c58b7d10b345370438d7b1923499294c.zip
Add Watch alarm test case
-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 50f4c2ec0..bc567bc4d 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(
+ "[ZJ*014111001332708*0075*0064*AL,040418,052156,A,22.536207,N,113.938673,E,0,0,0,5,100,82,1000,50,00100000,1,255,460,0,9340,3663,35]"));
+
+ verifyPosition(decoder, buffer(
"[SG*352661090143150*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]"));
verifyAttributes(decoder, buffer(