aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-08-25 16:52:58 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-08-25 16:52:58 -0700
commit9f0531ee394ff9f3722d3238964e0d12c83e739e (patch)
tree73c220258a015515f66f4a071ec1d8dd396f152c /src/test
parent523f4b0c7d1b849f57347e45e6ebbec4c4d0baf3 (diff)
downloadtrackermap-server-9f0531ee394ff9f3722d3238964e0d12c83e739e.tar.gz
trackermap-server-9f0531ee394ff9f3722d3238964e0d12c83e739e.tar.bz2
trackermap-server-9f0531ee394ff9f3722d3238964e0d12c83e739e.zip
Support CT10 model
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java
index 09270faff..caa354e54 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"));
+ verifyPosition(decoder, binary(
+ "797900a87000000001020035000100003300125d62bf3a0800e804b5994308814a87001d5d00340006115d62bf29000011000a012e02620000000000000001000803537601000129800002000803102608593397620003000a8901260852293397626600180002017d002b000116002c00045d6278ea0009000108000a00010b002800010b002e00040000f0c1002a00010000290004000000be0030000a000100b4000a00b402d00006c5490d0a"));
+
verifyAttribute(decoder, binary(
"797900149b03023539303042343843454238410300139ba40d0a"),
Position.KEY_DRIVER_UNIQUE_ID, "5900B48CEB");