diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-27 19:28:31 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-27 19:28:31 -0700 |
commit | bb50a4178d171d40734b94fccf52b72733f1f04c (patch) | |
tree | bc49709d4b6c9275928ebe4b422e42b2eeacc7d0 /src/test | |
parent | 950a35723b8ad3e9383c55d8b84812d012da3085 (diff) | |
download | trackermap-server-bb50a4178d171d40734b94fccf52b72733f1f04c.tar.gz trackermap-server-bb50a4178d171d40734b94fccf52b72733f1f04c.tar.bz2 trackermap-server-bb50a4178d171d40734b94fccf52b72733f1f04c.zip |
Watch zero cell towers
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/java/org/traccar/protocol/WatchProtocolDecoderTest.java | 3 |
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 4fab19f26..34ef7839b 100644 --- a/src/test/java/org/traccar/protocol/WatchProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/WatchProtocolDecoderTest.java @@ -15,6 +15,9 @@ public class WatchProtocolDecoderTest extends ProtocolTest { var decoder = new WatchProtocolDecoder(null); + verifyPosition(decoder, buffer( + "[3G*9031853319*004E*UD2,220322,055105,A,22.761162,N,114.360192,E,0,0,47,14,100,64,0,0,00000008,0,0]")); + verifyAttribute(decoder, buffer( "[3G*2104326058*000E*btemp2,1,35.29]"), Position.PREFIX_TEMP + 1, 35.29); |