aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-09-23 00:13:58 -0700
committerGitHub <noreply@github.com>2019-09-23 00:13:58 -0700
commit5f4ccee4ee552920b8ef1ee0cd385f83ca68fa27 (patch)
tree69edaaad4b0e4629b9cc8648e7cca919bffa2df9 /src/test
parent2c0fae71df46d661637a53c833c7ddb3ea4acb77 (diff)
parent8a5e7d351ad1e0708655cc11dc07ac29a8e89e35 (diff)
downloadtraccar-server-5f4ccee4ee552920b8ef1ee0cd385f83ca68fa27.tar.gz
traccar-server-5f4ccee4ee552920b8ef1ee0cd385f83ca68fa27.tar.bz2
traccar-server-5f4ccee4ee552920b8ef1ee0cd385f83ca68fa27.zip
Merge pull request #4397 from ninioe/master
Watch protocol case fix
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/traccar/protocol/WatchProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/WatchProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/WatchProtocolDecoderTest.java
index 539e63253..c3f27f0a7 100644
--- a/src/test/java/org/traccar/protocol/WatchProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/WatchProtocolDecoderTest.java
@@ -24,6 +24,9 @@ public class WatchProtocolDecoderTest extends ProtocolTest {
verifyAttributes(decoder, buffer(
"[3G*4700609403*0013*bphrt,120,79,73,,,,]"));
+ verifyAttributes(decoder, buffer(
+ "[ZJ*357653059860416*0007*000c*BLOOD,109,68]"));
+
verifyPosition(decoder, buffer(
"[3G*8308373902*0080*AL,230817,095346,A,47.083950,N,15.4821850,E,7.60,273.8,0.0,4,15,44,0,0,00200010,2,255,232,1,7605,42530,118,7605,58036,119,0,65.8]"));