aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-11-04 21:59:47 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2020-11-04 21:59:47 -0800
commit67e287767cf7935f640085314e8fa7569dc0b2ae (patch)
treea1372b6dd0d583c541473e93c8422c5ce4bdfc7c /src/test/java/org/traccar
parent99bab1f37f0a21e5c0e20cb78e30218c98133bf0 (diff)
downloadtraccar-server-67e287767cf7935f640085314e8fa7569dc0b2ae.tar.gz
traccar-server-67e287767cf7935f640085314e8fa7569dc0b2ae.tar.bz2
traccar-server-67e287767cf7935f640085314e8fa7569dc0b2ae.zip
Update year decoding
Diffstat (limited to 'src/test/java/org/traccar')
-rw-r--r--src/test/java/org/traccar/protocol/PacificTrackProtocolDecoderTest.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/java/org/traccar/protocol/PacificTrackProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/PacificTrackProtocolDecoderTest.java
index 994407d25..b3293dacf 100644
--- a/src/test/java/org/traccar/protocol/PacificTrackProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/PacificTrackProtocolDecoderTest.java
@@ -24,7 +24,10 @@ public class PacificTrackProtocolDecoderTest extends ProtocolTest {
PacificTrackProtocolDecoder decoder = new PacificTrackProtocolDecoder(null);
- verifyPosition(decoder, binary(
+ verifyAttributes(decoder, binary(
+ "fb80c88181b00280883592151012618820b18b1f123340f004c90001300301928a0080008100c00000000091971c0b0417020d074df0ec03c242550b20081d0c009a0601a1855571a30000"));
+
+ verifyAttributes(decoder, binary(
"fb82e80280883527530900009110818202c0909308990b122519076138fc03b3480205a3e80003a0834dd19fb08112c08f0143000e020000000100000014000101929f806328c0000f4240810a858ce011314334424a57464758444c3533313737330190868102100828cf"));
verifyAttributes(decoder, binary(