aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAaron Donnelly <126603683+Aaron-Donnelly@users.noreply.github.com>2023-05-03 14:27:45 +0100
committerGitHub <noreply@github.com>2023-05-03 14:27:45 +0100
commit442806299eb328b5b41882d04c3dd65650715647 (patch)
treece471e548ade4a971ce1569ffa07661b49533e57 /src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java
parentbeb43ba371de5862a7ca6579daef20c8ffd83f2d (diff)
parentbb6964f03867d039a547c103cd16390f78688022 (diff)
downloadtrackermap-server-442806299eb328b5b41882d04c3dd65650715647.tar.gz
trackermap-server-442806299eb328b5b41882d04c3dd65650715647.tar.bz2
trackermap-server-442806299eb328b5b41882d04c3dd65650715647.zip
Merge branch 'traccar:master' into Teltonika-io30-faultCount
Diffstat (limited to 'src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java')
-rw-r--r--src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java
index 5dc6b803e..8f2c97f86 100644
--- a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java
@@ -17,6 +17,9 @@ public class Gt06ProtocolDecoderTest extends ProtocolTest {
verifyNull(decoder, binary(
"78780D01086471700328358100093F040D0A"));
+ verifyAttributes(decoder, binary(
+ "797900849404414c4d313d43353b414c4d323d43433b414c4d333d35433b535441313d43303b4459443d30313b534f533d303133323838333730302c2c3b43454e5445523d303133323838333730303b46454e43453d46656e63652c4f46462c302c302e3030303030302c302e3030303030302c3330302c494e206f72204f55542c313b00b79d120d0a"));
+
verifyAttribute(decoder, binary(
"78782912170316053b3bcf015b51220af1201105d56100000000000000000000869c0130010000000238d1af0d0a"),
Position.KEY_DRIVING_TIME, 0);
@@ -190,7 +193,7 @@ public class Gt06ProtocolDecoderTest extends ProtocolTest {
verifyAttributes(decoder, binary(
"79790008940000ed0289d6860d0a"));
- verifyNull(decoder, binary(
+ verifyAttributes(decoder, binary(
"797900a59404414c4d313d34353b414c4d323d44353b414c4d333d35353b535441313d34303b4459443d30313b534f533d303538353036313536372c2c3b43454e5445523d3b46454e43453d46656e63652c4f46462c302c302e3030303030302c302e3030303030302c3330302c494e206f72204f55542c303b49434349443d38393937313033313031303038393539303432463b4d4f44453d4d4f44452c312c3138303b0008f65e0d0a"));
verifyPosition(decoder, binary(