diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-03-01 10:40:32 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-03-01 10:40:32 +1300 |
commit | a8192b921e0f0b89654440075e4045d9002f1b73 (patch) | |
tree | 8338428105bd09764d166a7c428437ecab03d36d | |
parent | 7a90bd82cd8a90d1ddbb7341cae89a1f6b01d50a (diff) | |
download | traccar-server-a8192b921e0f0b89654440075e4045d9002f1b73.tar.gz traccar-server-a8192b921e0f0b89654440075e4045d9002f1b73.tar.bz2 traccar-server-a8192b921e0f0b89654440075e4045d9002f1b73.zip |
Add iButton Aplicom test cases
-rw-r--r-- | test/org/traccar/protocol/AplicomProtocolDecoderTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/AplicomProtocolDecoderTest.java b/test/org/traccar/protocol/AplicomProtocolDecoderTest.java index 035163fc8..26844994e 100644 --- a/test/org/traccar/protocol/AplicomProtocolDecoderTest.java +++ b/test/org/traccar/protocol/AplicomProtocolDecoderTest.java @@ -11,6 +11,12 @@ public class AplicomProtocolDecoderTest extends ProtocolTest { AplicomProtocolDecoder decoder = new AplicomProtocolDecoder(new AplicomProtocol());
verifyPosition(decoder, binary(
+ "44c3014645e8e91b66002300a21f0b01f056d3e62856d3e626031f845f00c6ee440800000000000000000017bd1cb30000"));
+
+ verifyPosition(decoder, binary(
+ "44c3014645e8e91b66002300a21f0b00f056d3e64756d3e646031f845f00c6ee440800000000000000000017bd1cb30001"));
+
+ verifyPosition(decoder, binary(
"44c3014645e8e91b66001f00221f0b01f456ba1e0d56ba1e0b031f842200c6ef550c000000000017bd1cb30004"));
verifyNothing(decoder, binary(
|