aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-07-03 23:26:42 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-07-03 23:26:42 +1200
commitccd93309bdcd282abb14e68b462c97960ccf2f96 (patch)
tree201f7f0f186cfb4d2058f66e55f062038ce440c9 /test/org/traccar
parent4eb88253787e895a3b0e22b2cbde04cd1b6d88ae (diff)
downloadtraccar-server-ccd93309bdcd282abb14e68b462c97960ccf2f96.tar.gz
traccar-server-ccd93309bdcd282abb14e68b462c97960ccf2f96.tar.bz2
traccar-server-ccd93309bdcd282abb14e68b462c97960ccf2f96.zip
Add Aplicom unit test casex
Diffstat (limited to 'test/org/traccar')
-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 6f1c204eb..984322cc8 100644
--- a/test/org/traccar/protocol/AplicomProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/AplicomProtocolDecoderTest.java
@@ -13,6 +13,9 @@ public class AplicomProtocolDecoderTest extends ProtocolDecoderTest {
AplicomProtocolDecoder decoder = new AplicomProtocolDecoder(new AplicomProtocol());
verify(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ChannelBufferTools.convertHexString(
+ "44c3014645e8e9d29a002d0022ff6d00f455893b4d55893b4c027a7e1500189d710800009e0000000000000000000000023300000000000000009d"))));
+
+ verify(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ChannelBufferTools.convertHexString(
"44C20146B710C158DA002100B09F0700C054CA0EA254CA0E9C03BE0BF6015D7069070000142A600000000000000001"))));
verify(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ChannelBufferTools.convertHexString(