aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-09-10 00:08:35 +1200
committerGitHub <noreply@github.com>2016-09-10 00:08:35 +1200
commitd62941c0bf39c6c9d7f31e5048306ec1b1908e85 (patch)
treeaf6119c309410a5724d01ab79ca9906c3476d1c3 /test/org
parent9bbb70a0eb76bd81c494c410772a31f19d6fd584 (diff)
parent91cc83f8d09f7ee591c9109e61cee6492226a612 (diff)
downloadtraccar-server-d62941c0bf39c6c9d7f31e5048306ec1b1908e85.tar.gz
traccar-server-d62941c0bf39c6c9d7f31e5048306ec1b1908e85.tar.bz2
traccar-server-d62941c0bf39c6c9d7f31e5048306ec1b1908e85.zip
Merge pull request #2297 from Abyss777/watch_pulse
Handle Watch answer on pulse command
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 a8f7b12bc..6116c2c2b 100644
--- a/test/org/traccar/protocol/WatchProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/WatchProtocolDecoderTest.java
@@ -54,6 +54,9 @@ public class WatchProtocolDecoderTest extends ProtocolTest {
verifyPosition(decoder, text(
"[SG*8800000015*0087*AL,220414,134652,A,22.571707,N,113.8613968,E,0.1,0.0,100,7,60,90,1000,50,0001,4,1,460,0,9360,4082,131,9360,4092,148,9360,4091,143,9360,4153,141"));
+ verifyAttributes(decoder, text(
+ "[CS*8800000015*0008*PULSE,72"));
+
}
}