diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-05-22 15:11:43 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-05-22 15:11:43 -0700 |
commit | 814dc83e21cdfbc563469c8adcdfbd278f26d551 (patch) | |
tree | 440990bab9550831cfbd14d64cbd369f94d2cb10 /src/test/java | |
parent | f697d6fad3648a8da2ad3bca9ff14263859a8e71 (diff) | |
download | traccar-server-814dc83e21cdfbc563469c8adcdfbd278f26d551.tar.gz traccar-server-814dc83e21cdfbc563469c8adcdfbd278f26d551.tar.bz2 traccar-server-814dc83e21cdfbc563469c8adcdfbd278f26d551.zip |
Use long int for status
Diffstat (limited to 'src/test/java')
-rw-r--r-- | src/test/java/org/traccar/protocol/PluginProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/PluginProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/PluginProtocolDecoderTest.java index 05f97e312..2d134d967 100644 --- a/src/test/java/org/traccar/protocol/PluginProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/PluginProtocolDecoderTest.java @@ -11,6 +11,9 @@ public class PluginProtocolDecoderTest extends ProtocolTest { var decoder = new PluginProtocolDecoder(null); + verifyPosition(decoder, text( + "$$STATUS,000000900005,20210521111252,27.171105,-25.600934,62.0,323,0,-1,2,0.000,2147489155,0.00,0,0,0.0,0.0,0,0,0,0,0,0,0,0,0")); + verifyAttribute(decoder, text( "$$STATUS,60925,20190829123115,28.254151,-25.860605,0.0,0,0,-1,2,0.000,13699,0.00,0,0,28.4,23.4,0,0,0,0,0,0,0,0,0"), Position.PREFIX_TEMP + 1, 28.4); |