aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/AdmProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-01-06 22:32:04 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2021-01-06 22:32:04 -0800
commita9745c6b14a0b6f48e57b9055c0977d814b46e28 (patch)
treed7a6c9b833889d7a5cc0dc67e0869c6d03d79c17 /src/test/java/org/traccar/protocol/AdmProtocolDecoderTest.java
parent65582507ac7c9c4f59dc8c12b3aae4c4ef2e84c1 (diff)
downloadtrackermap-server-a9745c6b14a0b6f48e57b9055c0977d814b46e28.tar.gz
trackermap-server-a9745c6b14a0b6f48e57b9055c0977d814b46e28.tar.bz2
trackermap-server-a9745c6b14a0b6f48e57b9055c0977d814b46e28.zip
Add new test cases
Diffstat (limited to 'src/test/java/org/traccar/protocol/AdmProtocolDecoderTest.java')
-rw-r--r--src/test/java/org/traccar/protocol/AdmProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/AdmProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/AdmProtocolDecoderTest.java
index 599dd6190..51e1e2bab 100644
--- a/src/test/java/org/traccar/protocol/AdmProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/AdmProtocolDecoderTest.java
@@ -11,6 +11,12 @@ public class AdmProtocolDecoderTest extends ProtocolTest {
AdmProtocolDecoder decoder = new AdmProtocolDecoder(null);
verifyNull(decoder, binary(
+ "000042033836393135333034323532333738340000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000078"));
+
+ verifyPosition(decoder, binary(
+ "00003728e000001402591d5f42e8711642f100000000df0007483223f35fe02eab0800000000000000004400000001000000000018000000003728e000001402591d5f42e8711642f100000000df0006496e23f35fe22e9a0800000000000000004400000001000000000017000000003728e000001402591d5f42e8711642f100000000df000748aa23f35fe22e4a07000000000000000043000100010000000000180000"));
+
+ verifyNull(decoder, binary(
"010042033836313331313030323639343838320501000000000000000000000000000000000000000000000000000000000000000000000000000000000000000073"));
verifyPosition(decoder, binary(