aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-25 09:20:01 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-25 09:20:01 +1300
commit9e5de36d24d477bddc7addc29f4b504314b644cf (patch)
tree1f3c924c60f44d79ae7dcd7497257ce647ba3707 /test/org/traccar/protocol
parentfcdea01510dc9bf7144c76f4dd3a08c8c4eebaca (diff)
downloadtrackermap-server-9e5de36d24d477bddc7addc29f4b504314b644cf.tar.gz
trackermap-server-9e5de36d24d477bddc7addc29f4b504314b644cf.tar.bz2
trackermap-server-9e5de36d24d477bddc7addc29f4b504314b644cf.zip
Support Teltonika messages without location
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r--test/org/traccar/protocol/TeltonikaProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/TeltonikaProtocolDecoderTest.java b/test/org/traccar/protocol/TeltonikaProtocolDecoderTest.java
index 7e3f7cb35..9e3c9a377 100644
--- a/test/org/traccar/protocol/TeltonikaProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/TeltonikaProtocolDecoderTest.java
@@ -16,6 +16,9 @@ public class TeltonikaProtocolDecoderTest extends ProtocolDecoderTest {
verifyNothing(decoder, binary(
"000F313233343536373839303132333435"));
+ verifyPositions(decoder, false, binary(
+ "0000000000000055070450aa14320201f00150aa17f3031f42332a4c4193d68c008d00020901f00150aa1b6a031f423383f54193624f009d00000a01f00150aa1c230fc01a0000552b040164f400dd00f0010143100c0105000000050400006846"));
+
verifyPositions(decoder, binary(
"000000000000003508010000014f8e016420002141bbaf0f4e96a7fffa0000120000000602010047030242669c92000002c7000000009100000000000100002df3"));