aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-02-24 23:06:07 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-02-24 23:06:07 +1300
commitc2248f7d46c992f24205f28622ccc72f7fc20b9c (patch)
tree0084bbb63a4ad819338f2bbece72da732679376e /test
parentb395bb276c73a9278ed2dad1168b8c0e8309e7c2 (diff)
downloadtrackermap-server-c2248f7d46c992f24205f28622ccc72f7fc20b9c.tar.gz
trackermap-server-c2248f7d46c992f24205f28622ccc72f7fc20b9c.tar.bz2
trackermap-server-c2248f7d46c992f24205f28622ccc72f7fc20b9c.zip
Implement iButton support for Aplicom
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/AplicomProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/AplicomProtocolDecoderTest.java b/test/org/traccar/protocol/AplicomProtocolDecoderTest.java
index 103718941..035163fc8 100644
--- a/test/org/traccar/protocol/AplicomProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/AplicomProtocolDecoderTest.java
@@ -10,6 +10,9 @@ public class AplicomProtocolDecoderTest extends ProtocolTest {
AplicomProtocolDecoder decoder = new AplicomProtocolDecoder(new AplicomProtocol());
+ verifyPosition(decoder, binary(
+ "44c3014645e8e91b66001f00221f0b01f456ba1e0d56ba1e0b031f842200c6ef550c000000000017bd1cb30004"));
+
verifyNothing(decoder, binary(
"44c3014645e8e9bada003e03fff7070055a4f24200000081000000000000000000000000000000000000000000000000000000000000000000000000000000ff00000001000000000000000044c3014645e8e9bada003e03fff77bff55a4f24300000081000000000000000000000000000000000000000000000000000000000000000000000000000000ff00300002000000000000000044c3014645e8e9bada003e03fff7690655a4f24500000081000000000000000000000000000000000000000000000000000000000000000000000000000000ff003000030000000000000000"));