aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-08-11 13:30:38 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-08-11 13:30:38 -0700
commit7c31297adb38d13e88e41e06d32663043c8ec363 (patch)
tree99e3f2f60d082df073798f02539c2b775f1a013e /src/test
parent34588a82377708f8664427cae0bd4dea8a582764 (diff)
downloadtraccar-server-7c31297adb38d13e88e41e06d32663043c8ec363.tar.gz
traccar-server-7c31297adb38d13e88e41e06d32663043c8ec363.tar.bz2
traccar-server-7c31297adb38d13e88e41e06d32663043c8ec363.zip
Decode additional data
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/traccar/protocol/NavisetProtocolDecoderTest.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/test/java/org/traccar/protocol/NavisetProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/NavisetProtocolDecoderTest.java
index 5ef7dc529..c4b0ca73a 100644
--- a/src/test/java/org/traccar/protocol/NavisetProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/NavisetProtocolDecoderTest.java
@@ -13,7 +13,13 @@ public class NavisetProtocolDecoderTest extends ProtocolTest {
verifyNull(decoder, binary(
"1310e4073836383230343030353935383436362a060716"));
- verifyPosition(decoder, binary(
+ verifyPositions(decoder, binary(
+ "b7501a203fab0d0bffcf4b5df0a82503a02cf6030000ff0c4200ba0007462a3a10000098280000f0f610fc4042ff00000000000000000000000000000000ff26000000000000808080808080808000000000ff000000000000000000000000000000000000000000000000000000000000ff00000000000000000000000000000000000000000000ff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008bff"));
+
+ verifyPositions(decoder, binary(
+ "b7501a203fda0d097fdc4b5d70aa2503c42cf6030000ff0fb40dea0006b12a3a100000b228000080f210044041ff00000000000000000000000000000000ff25000000000000808080808080808000000000ff1201000000000000000000000000000000000000000000001a0000000000ff00000000000000000000000000000000000000000000ff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b603"));
+
+ verifyPositions(decoder, binary(
"14501a2000a50c0955a64b5db8a92503fc2cf603000084ab"));
}